码迷,mamicode.com
首页 >  
搜索关键字:matrix factorization    ( 4370个结果
Android应用--QR的生成(二维码)
二维码的定义:二维码(2-dimensional bar code),是用某种特定的几何图形按一定规律在平面(二维方向上)分布的黑白相间的图形记录数据符号信息的。在许多种类的二维条码中,常用的码制有:Data Matrix, Maxi Code, Aztec, QR Code, Vericode, ...
分类:移动开发   时间:2015-06-17 11:20:05    阅读次数:180
221. Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr...
分类:其他好文   时间:2015-06-17 08:13:14    阅读次数:112
Set Matrix Zeroes
Did you use extra space?A straight forward solution using O(mn) space is probably a bad idea.A simple improvement uses O(m+n) space, but still not the...
分类:其他好文   时间:2015-06-16 18:47:21    阅读次数:90
Search a 2D Matrix
这题很简单class Solution {public: bool searchMatrix(vector>& matrix, int target) { int m=matrix.size(); int n=matrix[0].size(); int...
分类:其他好文   时间:2015-06-16 12:43:05    阅读次数:70
Java for LeetCode 221 Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr...
分类:编程语言   时间:2015-06-15 18:34:55    阅读次数:1218
CSS3 Transform Matrix
css3中的transform让我们操作变形变得很简单,诸如,translate–移动,scale–缩放,rotate–旋转,skew–斜切。这几个属性很方便,也很简单,但是其中matrix我们就不常使用了吧。-webkit-transform: matrix(1, 0, 0, 1, 100, 10...
分类:Web程序   时间:2015-06-15 10:57:21    阅读次数:169
UVA11992:Fast Matrix Operations(线段树)
题意: 有一个初始状态全为0的矩阵,一共有三个操作 1 x1 y1 x2 y2 v:子矩阵(x1,y1,x2,y2)所有元素增加v 2 x1 y1 x2 y2 v:子矩阵(x1,y1,x2,y2)所有元素设为v 3 x1 y1 x2 y2 v:查询子矩阵(x1,y1,x2,y2)的元素和,最大值和最小值 思路: 因为总元素葛素不超过10^6,而且更新是对于连续的行进行更新,...
分类:其他好文   时间:2015-06-14 12:32:24    阅读次数:169
mat 和IPIImage之间的转换
opencv2.3.1Mat::operator IplImageCreates the IplImage header for the matrix.C++: Mat::operator IplImage() constThe operator creates the IplImage heade...
分类:其他好文   时间:2015-06-14 10:56:22    阅读次数:195
Rotate Image
Description:You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?Code: 1...
分类:其他好文   时间:2015-06-14 10:53:39    阅读次数:99
Search a 2D Matrix
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 from left to right.The first integer of each...
分类:其他好文   时间:2015-06-13 09:56:33    阅读次数:98
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!