码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
缩放图片
//使用Bitmap加Matrix来缩放 public static Drawable resizeImage(Bitmap bitmap, int w, int h) { Bitmap BitmapOrg = bitmap; int width =...
分类:其他好文   时间:2015-10-08 22:48:25    阅读次数:198
Unity3d shader内置矩阵
内置矩阵 支持的矩阵(float4x4):UNITY_MATRIX_MVP 当前模型视图投影矩阵UNITY_MATRIX_MV 当前模型视图矩阵UNITY_MATRIX_V 当前视图矩阵。UNITY_MATRIX_P 目前的投影矩阵UNITY_MATRIX_VP 当前视图*投影矩阵UNITY_MAT...
分类:编程语言   时间:2015-10-07 21:31:56    阅读次数:251
【ACM从零开始】LeetCode OJ-Search a 2D Matrix
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:其他好文   时间:2015-10-07 14:42:49    阅读次数:191
矩阵运算
#include #include #include #include //头文件,包含所需要的函数using namespace std; //命名空间typedef struct{ //定义矩阵结构体 int n; int m; int *data;}Matrix;void MatrixM...
分类:其他好文   时间:2015-10-07 12:00:35    阅读次数:178
leetcode:Search a 2D Matrix(数组,二分查找)
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:编程语言   时间:2015-10-05 21:57:52    阅读次数:193
POJ2155 Matrix二维线段树经典题
题目链接二维树状数组 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 #define ll long long 7 #define re(i,n) for(int i=0;i0; i-=lowbit(i)).....
分类:其他好文   时间:2015-10-05 13:00:28    阅读次数:197
73. Set Matrix Zeroes? (Graph)
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.Follow up: Did you use extra space?A straight forward sol...
分类:其他好文   时间:2015-10-04 17:14:04    阅读次数:176
74. Search a 2D Matrix (Graph; Divide-and-Conquer)
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted fr...
分类:其他好文   时间:2015-10-04 17:10:18    阅读次数:132
UVA11992 - Fast Matrix Operations(段树部分的变化)
UVA11992 - Fast Matrix Operations(线段树区间改动)题目链接题目大意:给你个r*c的矩阵,初始化为0。然后给你三种操作:1 x1, y1, x2, y2, v 把由x1,y1, x2, y2构成的子矩阵里的每一个元素都加上v。2 x1, y1, x2, y2, v 把...
分类:其他好文   时间:2015-10-04 17:10:11    阅读次数:176
54. Spiral Matrix (Graph)
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example,Given the following matrix:[ [ 1,...
分类:其他好文   时间:2015-10-04 17:10:04    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!