D | array_replicate.cpp | 12 template<typename MatrixType> void replicate(const MatrixType& m) in replicate() function 41 VERIFY_IS_APPROX(x1, m1.replicate(f1,f2)); in replicate() 46 VERIFY_IS_APPROX(x2, (m2.template replicate<2,3>())); in replicate() 50 VERIFY_IS_APPROX(x2, (m2.template replicate<1,3>())); in replicate() 54 VERIFY_IS_APPROX(vx1+vx1, vx1+(m2.template replicate<3,1>())); in replicate() 56 vx1=m2+(m2.colwise().replicate(1)); in replicate() 59 VERIFY_IS_APPROX(m2.coeff(0), (m2.template replicate<3,1>().coeff(m2.rows()))); in replicate() 64 VERIFY_IS_APPROX(x2, v1.rowwise().replicate(f1)); in replicate() 69 VERIFY_IS_APPROX(vx1, v1.colwise().replicate(f2)); in replicate() 75 CALL_SUBTEST_1( replicate(Matrix<float, 1, 1>()) ); in test_array_replicate() [all …]
|