Home | History | Annotate | Download | only in test

Lines Matching refs:cols

39   Index cols = m.cols();
41 MatrixType m1 = MatrixType::Random(rows, cols),
42 m2 = MatrixType::Random(rows, cols),
43 m3(rows, cols),
44 m4(rows, cols),
45 mzero = MatrixType::Zero(rows, cols),
46 mones = MatrixType::Ones(rows, cols),
54 c = internal::random<Index>(0, cols-1);
59 m3 = MatrixType::Constant(rows, cols, s1);
60 for (int j=0; j<cols; ++j)
72 VERIFY_IS_APPROX(m4.setConstant(rows,cols,s1), m3);
74 VERIFY_IS_APPROX(m4.setZero(rows,cols), mzero);
76 VERIFY_IS_APPROX(m4.setOnes(rows,cols), mones);
138 if (rows*cols>1)