Lines Matching defs:rows
36 int rows = m.rows();
41 MatrixType m1 = MatrixType::Random(rows, cols),
42 m2 = MatrixType::Random(rows, cols),
43 m3(rows, cols),
44 mzero = MatrixType::Zero(rows, cols);
46 identity = RowSquareMatrixType::Identity(rows, rows),
47 square = RowSquareMatrixType::Random(rows, rows),
48 res = RowSquareMatrixType::Random(rows, rows);
52 RowVectorType v1 = RowVectorType::Random(rows),
53 v2 = RowVectorType::Random(rows),
54 vzero = RowVectorType::Zero(rows);
60 int r = ei_random<int>(0, rows-1),
87 VERIFY_IS_APPROX(MatrixType::Identity(rows, cols)(r,c), static_cast<Scalar>(r==c));
89 if (rows!=cols)
94 if (NumTraits<Scalar>::HasFloatingPoint && std::min(rows,cols)>1)
103 if (NumTraits<Scalar>::HasFloatingPoint && std::min(rows,cols)>1)
115 for (int i=0; i<rows; ++i)
119 for (int i=0; i<rows; ++i)
127 if (NumTraits<Scalar>::HasFloatingPoint && std::min(rows,cols)>1)