mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add missing non-const reverse method in VectorwiseOp.
This commit is contained in:
@@ -117,13 +117,11 @@ template<typename MatrixType> void reverse(const MatrixType& m)
|
||||
m2.colwise().reverseInPlace();
|
||||
VERIFY_IS_APPROX(m2,m1.colwise().reverse().eval());
|
||||
|
||||
/*
|
||||
m1.colwise().reverse()(r, c) = x;
|
||||
VERIFY_IS_APPROX(x, m1(rows - 1 - r, c));
|
||||
|
||||
m1.rowwise().reverse()(r, c) = x;
|
||||
VERIFY_IS_APPROX(x, m1(r, cols - 1 - c));
|
||||
*/
|
||||
}
|
||||
|
||||
void test_array_reverse()
|
||||
|
||||
Reference in New Issue
Block a user