Lines Matching full:cols

35   Index cols = m.cols();  in product()  local
39 MatrixType m1 = MatrixType::Random(rows, cols), in product()
40 m2 = MatrixType::Random(rows, cols), in product()
41 m3(rows, cols); in product()
47 square2 = ColSquareMatrixType::Random(cols, cols), in product()
48 res2 = ColSquareMatrixType::Random(cols, cols); in product()
50 ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols); in product()
56 c = internal::random<Index>(0, cols-1), in product()
57 c2 = internal::random<Index>(0, cols-1); in product()
79 VERIFY_IS_APPROX(MatrixType::Identity(rows, cols)(r,c), static_cast<Scalar>(r==c)); in product()
81 if (rows!=cols) in product()
86 if (!NumTraits<Scalar>::IsInteger && (std::min)(rows,cols)>1) in product()
95 if (!NumTraits<Scalar>::IsInteger && (std::min)(rows,cols)>1) in product()
107 if (!NumTraits<Scalar>::IsInteger && (std::min)(rows,cols)>1) in product()
131 if (!NumTraits<Scalar>::IsInteger && (std::min)(rows,cols)>1) in product()
144 VERIFY_IS_APPROX(m1.col(c) * m1.row(r), m1.block(0,c,rows,1) * m1.block(r,0,1,cols)); in product()
145 …VERIFY_IS_APPROX(m1.row(r).transpose() * m1.col(c).transpose(), m1.block(r,0,1,cols).transpose() *… in product()
146 VERIFY_IS_APPROX(m1.block(0,c,rows,1) * m1.row(r), m1.block(0,c,rows,1) * m1.block(r,0,1,cols)); in product()
147 VERIFY_IS_APPROX(m1.col(c) * m1.block(r,0,1,cols), m1.block(0,c,rows,1) * m1.block(r,0,1,cols)); in product()
148 VERIFY_IS_APPROX(m1.leftCols(1) * m1.row(r), m1.block(0,0,rows,1) * m1.block(r,0,1,cols)); in product()
149 VERIFY_IS_APPROX(m1.col(c) * m1.topRows(1), m1.block(0,c,rows,1) * m1.block(0,0,1,cols)); in product()