Lines Matching refs:rows
18 int rows = m.rows(); in svd() local
23 MatrixType a = MatrixType::Random(rows,cols); in svd()
25 Matrix<Scalar, MatrixType::RowsAtCompileTime, 1>::Random(rows,1); in svd()
34 MatrixType sigma = MatrixType::Zero(rows,cols); in svd()
35 MatrixType matU = MatrixType::Zero(rows,rows); in svd()
37 matU.block(0,0,rows,cols) = svd.matrixU(); in svd()
42 if (rows==cols) in svd()
46 MatrixType a1 = MatrixType::Random(rows,cols); in svd()
55 if(rows==cols) in svd()
60 …VERIFY_IS_APPROX(unitary * unitary.adjoint(), MatrixType::Identity(unitary.rows(),unitary.rows())); in svd()
62 …for(int i = 0; i < rows; i++) VERIFY(positive.diagonal()[i] >= 0); // cheap necessary (not suffici… in svd()
66 …VERIFY_IS_APPROX(unitary * unitary.adjoint(), MatrixType::Identity(unitary.rows(),unitary.rows())); in svd()
68 …for(int i = 0; i < rows; i++) VERIFY(positive.diagonal()[i] >= 0); // cheap necessary (not suffici… in svd()