Lines Matching refs:replicate
12 template<typename MatrixType> void replicate(const MatrixType& m)
15 Replicate.cpp
41 VERIFY_IS_APPROX(x1, m1.replicate(f1,f2));
46 VERIFY_IS_APPROX(x2, (m2.template replicate<2,3>()));
51 VERIFY_IS_APPROX(x2, v1.rowwise().replicate(f1));
56 VERIFY_IS_APPROX(vx1, v1.colwise().replicate(f2));
62 CALL_SUBTEST_1( replicate(Matrix<float, 1, 1>()) );
63 CALL_SUBTEST_2( replicate(Vector2f()) );
64 CALL_SUBTEST_3( replicate(Vector3d()) );
65 CALL_SUBTEST_4( replicate(Vector4f()) );
66 CALL_SUBTEST_5( replicate(VectorXf(16)) );
67 CALL_SUBTEST_6( replicate(VectorXcd(10)) );