Lines Matching refs:rows
20 Index rows = m.rows();
23 Index r = internal::random<Index>(0, rows-1), r2 = internal::random<Index>(0, rows-1), c = internal::random<Index>(0, cols-1);
24 VERIFY_IS_APPROX(MatrixType::Ones(rows,cols)(r,c), static_cast<Scalar>(1));
25 MatrixType m1 = MatrixType::Ones(rows,cols);
27 VectorType v1 = VectorType::Random(rows);
33 square = MatrixType::Zero(rows, rows);
34 square.diagonal() = VectorType::Ones(rows);
35 VERIFY_IS_APPROX(square, MatrixType::Identity(rows, rows));