Searched refs:mones (Results 1 – 2 of 2) sorted by relevance
/external/eigen/test/ |
D | cwiseop.cpp | 35 cwiseops_real_only(MatrixType& m1, MatrixType& m2, MatrixType& m3, MatrixType& mones) in cwiseops_real_only() argument 47 m3 = (m1.cwise().abs().cwise()<=RealScalar(0.01)).select(mones,m1); in cwiseops_real_only() 53 VERIFY_IS_APPROX(mones, m1.cwise().sin().cwise().square() + m1.cwise().cos().cwise().square()); in cwiseops_real_only() 83 mones = MatrixType::Ones(rows, cols), in cwiseops() local 101 VERIFY_IS_APPROX(mones(i,j), Scalar(1)); in cwiseops() 105 VERIFY(mones.isOnes()); in cwiseops() 112 VERIFY_IS_APPROX(m4.setOnes(), mones); in cwiseops() 113 VERIFY_IS_APPROX(m4.setOnes(rows,cols), mones); in cwiseops() 121 m2 = m2.template binaryExpr<AddIfNull<Scalar> >(mones); in cwiseops() 127 VERIFY_IS_APPROX(m1 + mones, m1.cwise()+Scalar(1)); in cwiseops() [all …]
|
/external/eigen/test/eigen2/ |
D | eigen2_cwiseop.cpp | 36 mones = MatrixType::Ones(rows, cols), in cwiseops() local 54 VERIFY_IS_APPROX(mones(i,j), Scalar(1)); in cwiseops() 58 VERIFY(mones.isOnes()); in cwiseops() 65 VERIFY_IS_APPROX(m4.setOnes(), mones); in cwiseops() 66 VERIFY_IS_APPROX(m4.setOnes(rows,cols), mones); in cwiseops() 74 m2 = m2.template binaryExpr<AddIfNull<Scalar> >(mones); in cwiseops() 80 VERIFY_IS_APPROX(m1 + mones, m1.cwise()+Scalar(1)); in cwiseops() 81 VERIFY_IS_APPROX(m1 - mones, m1.cwise()-Scalar(1)); in cwiseops() 83 VERIFY_IS_APPROX(m1 + mones, m3); in cwiseops() 85 VERIFY_IS_APPROX(m1 - mones, m3); in cwiseops() [all …]
|