Lines Matching full:swap
25 template<typename MatrixType> void swap(const MatrixType& m)
44 m1.swap(m2);
51 m1.swap(m3);
58 m1.swap(m2.block(0,0,rows,cols));
65 m1.transpose().swap(m3.transpose());
72 VERIFY_RAISES_ASSERT(m1.swap(m1.row(0)));
74 VERIFY_RAISES_ASSERT(m1.row(0).swap(m1));
79 CALL_SUBTEST_1( swap(Matrix3f()) ); // fixed size, no vectorization
80 CALL_SUBTEST_2( swap(Matrix4d()) ); // fixed size, possible vectorization
81 CALL_SUBTEST_3( swap(MatrixXd(3,3)) ); // dyn size, no vectorization
82 CALL_SUBTEST_4( swap(MatrixXf(30,30)) ); // dyn size, possible vectorization