Lines Matching refs:cols
19 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime,
24 typedef PermutationMatrix<Cols> RightPermutationType;
25 typedef Matrix<int, Cols, 1> RightPermutationVectorType;
29 Index cols = m.cols();
31 MatrixType m_original = MatrixType::Random(rows,cols);
36 randomPermutationVector(rv, cols);
38 MatrixType m_permuted = MatrixType::Random(rows,cols);
43 for (int j=0; j<cols; j++)
47 Matrix<Scalar,Cols,Cols> rm(rp);
92 if(rows>1 && cols>1)
104 i = internal::random<Index>(0, cols-1);
105 do j = internal::random<Index>(0, cols-1); while(j==i);
114 Matrix<Scalar, Cols, Cols> A = rp;
115 Matrix<Scalar, Cols, Cols> B = rp.transpose();