Home
last modified time | relevance | path

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

/external/eigen/test/
Dvectorwiseop.cpp30 ColVectorType colvec = ColVectorType::Random(rows); in vectorwiseop_array() local
36 m2.colwise() += colvec; in vectorwiseop_array()
37 VERIFY_IS_APPROX(m2, m1.colwise() + colvec); in vectorwiseop_array()
38 VERIFY_IS_APPROX(m2.col(c), m1.col(c) + colvec); in vectorwiseop_array()
40 VERIFY_RAISES_ASSERT(m2.colwise() += colvec.transpose()); in vectorwiseop_array()
41 VERIFY_RAISES_ASSERT(m1.colwise() + colvec.transpose()); in vectorwiseop_array()
54 m2.colwise() -= colvec; in vectorwiseop_array()
55 VERIFY_IS_APPROX(m2, m1.colwise() - colvec); in vectorwiseop_array()
56 VERIFY_IS_APPROX(m2.col(c), m1.col(c) - colvec); in vectorwiseop_array()
58 VERIFY_RAISES_ASSERT(m2.colwise() -= colvec.transpose()); in vectorwiseop_array()
[all …]