Home
last modified time | relevance | path

Searched refs:rowvec (Results 1 – 1 of 1) sorted by relevance

/external/eigen/test/
Dvectorwiseop.cpp32 RowVectorType rowvec = RowVectorType::Random(cols); in vectorwiseop_array() local
45 m2.rowwise() += rowvec; in vectorwiseop_array()
46 VERIFY_IS_APPROX(m2, m1.rowwise() + rowvec); in vectorwiseop_array()
47 VERIFY_IS_APPROX(m2.row(r), m1.row(r) + rowvec); in vectorwiseop_array()
49 VERIFY_RAISES_ASSERT(m2.rowwise() += rowvec.transpose()); in vectorwiseop_array()
50 VERIFY_RAISES_ASSERT(m1.rowwise() + rowvec.transpose()); in vectorwiseop_array()
63 m2.rowwise() -= rowvec; in vectorwiseop_array()
64 VERIFY_IS_APPROX(m2, m1.rowwise() - rowvec); in vectorwiseop_array()
65 VERIFY_IS_APPROX(m2.row(r), m1.row(r) - rowvec); in vectorwiseop_array()
67 VERIFY_RAISES_ASSERT(m2.rowwise() -= rowvec.transpose()); in vectorwiseop_array()
[all …]