• Home
  • Raw
  • Download

Lines Matching refs:colvec

32   ColVectorType colvec = ColVectorType::Random(rows);  in vectorwiseop_array()  local
38 m2.colwise() += colvec; in vectorwiseop_array()
39 VERIFY_IS_APPROX(m2, m1.colwise() + colvec); in vectorwiseop_array()
40 VERIFY_IS_APPROX(m2.col(c), m1.col(c) + colvec); in vectorwiseop_array()
42 VERIFY_RAISES_ASSERT(m2.colwise() += colvec.transpose()); in vectorwiseop_array()
43 VERIFY_RAISES_ASSERT(m1.colwise() + colvec.transpose()); in vectorwiseop_array()
56 m2.colwise() -= colvec; in vectorwiseop_array()
57 VERIFY_IS_APPROX(m2, m1.colwise() - colvec); in vectorwiseop_array()
58 VERIFY_IS_APPROX(m2.col(c), m1.col(c) - colvec); in vectorwiseop_array()
60 VERIFY_RAISES_ASSERT(m2.colwise() -= colvec.transpose()); in vectorwiseop_array()
61 VERIFY_RAISES_ASSERT(m1.colwise() - colvec.transpose()); in vectorwiseop_array()
74 m2.colwise() *= colvec; in vectorwiseop_array()
75 VERIFY_IS_APPROX(m2, m1.colwise() * colvec); in vectorwiseop_array()
76 VERIFY_IS_APPROX(m2.col(c), m1.col(c) * colvec); in vectorwiseop_array()
78 VERIFY_RAISES_ASSERT(m2.colwise() *= colvec.transpose()); in vectorwiseop_array()
79 VERIFY_RAISES_ASSERT(m1.colwise() * colvec.transpose()); in vectorwiseop_array()
92 m2.colwise() /= colvec; in vectorwiseop_array()
93 VERIFY_IS_APPROX(m2, m1.colwise() / colvec); in vectorwiseop_array()
94 VERIFY_IS_APPROX(m2.col(c), m1.col(c) / colvec); in vectorwiseop_array()
96 VERIFY_RAISES_ASSERT(m2.colwise() /= colvec.transpose()); in vectorwiseop_array()
97 VERIFY_RAISES_ASSERT(m1.colwise() / colvec.transpose()); in vectorwiseop_array()
149 ColVectorType colvec = ColVectorType::Random(rows); in vectorwiseop_matrix() local
157 m2.colwise() += colvec; in vectorwiseop_matrix()
158 VERIFY_IS_APPROX(m2, m1.colwise() + colvec); in vectorwiseop_matrix()
159 VERIFY_IS_APPROX(m2.col(c), m1.col(c) + colvec); in vectorwiseop_matrix()
163 VERIFY_RAISES_ASSERT(m2.colwise() += colvec.transpose()); in vectorwiseop_matrix()
164 VERIFY_RAISES_ASSERT(m1.colwise() + colvec.transpose()); in vectorwiseop_matrix()
181 m2.colwise() -= colvec; in vectorwiseop_matrix()
182 VERIFY_IS_APPROX(m2, m1.colwise() - colvec); in vectorwiseop_matrix()
183 VERIFY_IS_APPROX(m2.col(c), m1.col(c) - colvec); in vectorwiseop_matrix()
187 VERIFY_RAISES_ASSERT(m2.colwise() -= colvec.transpose()); in vectorwiseop_matrix()
188 VERIFY_RAISES_ASSERT(m1.colwise() - colvec.transpose()); in vectorwiseop_matrix()