Lines Matching refs:reverse
16 template<typename MatrixType> void reverse(const MatrixType& m) in reverse() function
30 MatrixType m1_r = m1.reverse(); in reverse()
70 VectorType v1_r = v1.reverse(); in reverse()
76 MatrixType m1_cr = m1.colwise().reverse(); in reverse()
84 MatrixType m1_rr = m1.rowwise().reverse(); in reverse()
97 m1.reverse()(r, c) = x; in reverse()
102 VERIFY_IS_APPROX(m2,m1.reverse().eval()); in reverse()
106 VERIFY_IS_APPROX(m2.col(0),m1.col(0).reverse().eval()); in reverse()
110 VERIFY_IS_APPROX(m2.row(0),m1.row(0).reverse().eval()); in reverse()
114 VERIFY_IS_APPROX(m2,m1.rowwise().reverse().eval()); in reverse()
118 VERIFY_IS_APPROX(m2,m1.colwise().reverse().eval()); in reverse()
120 m1.colwise().reverse()(r, c) = x; in reverse()
123 m1.rowwise().reverse()(r, c) = x; in reverse()
130 CALL_SUBTEST_1( reverse(Matrix<float, 1, 1>()) ); in test_array_reverse()
131 CALL_SUBTEST_2( reverse(Matrix2f()) ); in test_array_reverse()
132 CALL_SUBTEST_3( reverse(Matrix4f()) ); in test_array_reverse()
133 CALL_SUBTEST_4( reverse(Matrix4d()) ); in test_array_reverse()
134 …CALL_SUBTEST_5( reverse(MatrixXcf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<i… in test_array_reverse()
135 …CALL_SUBTEST_6( reverse(MatrixXi(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<in… in test_array_reverse()
136 …CALL_SUBTEST_7( reverse(MatrixXcd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<i… in test_array_reverse()
137 CALL_SUBTEST_8( reverse(Matrix<float, 100, 100>()) ); in test_array_reverse()
138 …CALL_SUBTEST_9( reverse(Matrix<float,Dynamic,Dynamic,RowMajor>(internal::random<int>(1,EIGEN_TEST_… in test_array_reverse()
143 VERIFY(x.reverse()[1] == 3); in test_array_reverse()
144 VERIFY(x.reverse() == y); in test_array_reverse()