Home | History | Annotate | Download | only in test

Lines Matching refs:cols

544 void createRandomPIMatrixOfRank(Index desired_rank, Index rows, Index cols, MatrixType& m);
546 void createRandomPIMatrixOfRank(Index desired_rank, Index rows, Index cols, MatrixType& m)
549 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime };
553 typedef Matrix<Scalar, Cols, Cols> MatrixBType;
557 m.setZero(rows,cols);
564 m = VectorType::Random(rows).normalized() * VectorType::Random(cols).normalized().transpose();
569 MatrixType d = MatrixType::Identity(rows,cols);
570 MatrixBType b = MatrixBType::Random(cols,cols);
573 const Index diag_size = (std::min)(d.rows(),d.cols());