Home | History | Annotate | Download | only in eigen2

Lines Matching refs:MatrixType

12 template<typename MatrixType> void miscMatrices(const MatrixType& m)
18 typedef typename MatrixType::Scalar Scalar;
19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
20 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType;
25 VERIFY_IS_APPROX(MatrixType::Ones(rows,cols)(r,c), static_cast<Scalar>(1));
26 MatrixType m1 = MatrixType::Ones(rows,cols);
30 Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>
34 square = MatrixType::Zero(rows, rows);
36 VERIFY_IS_APPROX(square, MatrixType::Identity(rows, rows));