码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
Leetcode-Maximal Rectangle
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.Analysis:For each position (i,j),...
分类:其他好文   时间:2014-11-24 06:28:38    阅读次数:192
Codeforces 486B - OR in Matrix
矩阵的 OR ,也是醉了。题目意思很简单,就是问你有没有这么一个矩阵,可以变化,得到输入的矩阵。要求是这个矩阵每行都可以上下任意移动,每列都可以左右任意移动。解题方法: 1.也是导致我WA 的原因,首先要判断是否是一个零矩阵,如果是一个零矩阵,那么YES输出 2.判断输入矩阵存在1的那个位置,在.....
分类:其他好文   时间:2014-11-23 00:26:02    阅读次数:176
[Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.5.10
Every $k\times k$ positive matrix $A=(a_{ij})$ can be realised as a Gram matrix, i.e., vectors $x_j$, $1\leq j\leq k$, can be found so that $a_{ij}=\s...
分类:其他好文   时间:2014-11-22 17:26:04    阅读次数:126
[Bhatia.Matrix Analysis.Solutions to Exercises and Problems]PrI.6.1
Given a basis $U=(u_1,\cdots,u_n)$ not necessarily orthonormal, in $\scrH$, how would you compute the biorthogonal basis $\sex{v_1,\cdots,v_n}$? Find ...
分类:其他好文   时间:2014-11-22 17:15:30    阅读次数:159
[Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.5.8
Prove that for any matrices $A,B$ we have $$\bex |\per (AB)|^2\leq \per (AA^*)\cdot \per (B^*B). \eex$$ (The corresponding relation for determinants i...
分类:其他好文   时间:2014-11-22 17:11:26    阅读次数:143
图像处理之opencv---mat、cvmat、IplImage之间的转换
一、Mat类型:矩阵类型,Matrix。在openCV中,Mat是一个多维的密集数据数组。可以用来处理向量和矩阵、图像、直方图等等常见的多维数据。Mat有3个重要的方法:1、Mat mat = imread(const String* filename); 读取图像2、imshow(const st...
分类:其他好文   时间:2014-11-21 21:51:26    阅读次数:269
OpenCV Tutorials —— Affine Transformations
仿射变换 Affine Transformation 1,It is any transformation that can be expressed in the form of a matrix multiplication (linear transformation) followed by...
分类:其他好文   时间:2014-11-21 18:03:05    阅读次数:184
BZOJ 2467 中山市选2010 生成树 组合数学
题目大意:给定一个图,图的中心是一个n个点的多边形,每条边都外接一个五边形,求生成树个数 Matrix Tree定理?不会! 观察这个图 5n条边 4n个点 每个五边形都是一个环 必须拆掉一条边 拆掉之后发现4n个点 4n条边 是一个基环树 基环树的环上的边由中心多边形被拆掉的边所在的五边形的剩余边与中心多边形未被拆掉的边构成 容易发现这个环上任意拆掉一条边都会导致某个五边形被拆...
分类:其他好文   时间:2014-11-21 14:23:08    阅读次数:229
1.7 Matrix Zero
Write an algorithm such that if an element in an MxN matrix is 0, itsentire rowand column are set to 0. 1 public static void matrixZero(int[][] matrix...
分类:其他好文   时间:2014-11-21 14:18:07    阅读次数:203
1.6 Image Rotation
Given an image represented by an NxN matrix, where each pixel in the image is4 bytes, write a method to rotate the image by 90 degrees. Can you do thi...
分类:其他好文   时间:2014-11-21 14:01:17    阅读次数:119
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!