Home | History | Annotate | Download | only in test

Lines Matching refs:MatrixType

16 template<typename MatrixType> void reverse(const MatrixType& m)
18 typedef typename MatrixType::Index Index;
19 typedef typename MatrixType::Scalar Scalar;
20 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
27 MatrixType m1 = MatrixType::Random(rows, cols);
30 MatrixType m1_r = m1.reverse();
38 Reverse<MatrixType> m1_rd(m1);
46 Reverse<MatrixType, BothDirections> m1_rb(m1);
54 Reverse<MatrixType, Vertical> m1_rv(m1);
62 Reverse<MatrixType, Horizontal> m1_rh(m1);
76 MatrixType m1_cr = m1.colwise().reverse();
84 MatrixType m1_rr = m1.rowwise().reverse();