• Home
  • Raw
  • Download

Lines Matching refs:colwise

38   m2.colwise() += colvec;  in vectorwiseop_array()
39 VERIFY_IS_APPROX(m2, m1.colwise() + 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()
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()
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()
96 VERIFY_RAISES_ASSERT(m2.colwise() /= colvec.transpose()); in vectorwiseop_array()
97 VERIFY_RAISES_ASSERT(m1.colwise() / colvec.transpose()); in vectorwiseop_array()
113 m2.rowwise() /= m2.colwise().sum(); in vectorwiseop_array()
114 VERIFY_IS_APPROX(m2, m1.rowwise() / m1.colwise().sum()); in vectorwiseop_array()
119 mb = (m1.real()<=0.7).colwise().all(); in vectorwiseop_array()
124 mb = (m1.real()>=0.7).colwise().any(); in vectorwiseop_array()
157 m2.colwise() += colvec; in vectorwiseop_matrix()
158 VERIFY_IS_APPROX(m2, m1.colwise() + 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()
187 VERIFY_RAISES_ASSERT(m2.colwise() -= colvec.transpose()); in vectorwiseop_matrix()
188 VERIFY_RAISES_ASSERT(m1.colwise() - colvec.transpose()); in vectorwiseop_matrix()
203 rrres = m1.colwise().norm(); in vectorwiseop_matrix()
208 VERIFY_IS_APPROX(m1.cwiseAbs().colwise().sum(), m1.colwise().template lpNorm<1>()); in vectorwiseop_matrix()
210 VERIFY_IS_APPROX(m1.cwiseAbs().colwise().maxCoeff(), m1.colwise().template lpNorm<Infinity>()); in vectorwiseop_matrix()
214 VERIFY_IS_APPROX(m1.cwiseAbs().colwise().sum().x(), m1.col(0).cwiseAbs().sum()); in vectorwiseop_matrix()
217 m2 = m1.colwise().normalized(); in vectorwiseop_matrix()
224 m2.colwise().normalize(); in vectorwiseop_matrix()
232 VERIFY_IS_APPROX( (m1 * m1.transpose()).colwise().sum(), m1m1.colwise().sum()); in vectorwiseop_matrix()
234 VERIFY_EVALUATION_COUNT( tmp = (m1 * m1.transpose()).colwise().sum(), 1); in vectorwiseop_matrix()
236 m2 = m1.rowwise() - (m1.colwise().sum()/RealScalar(m1.rows())).eval(); in vectorwiseop_matrix()
237 m1 = m1.rowwise() - (m1.colwise().sum()/RealScalar(m1.rows())); in vectorwiseop_matrix()
239 …VERIFY_EVALUATION_COUNT( m2 = (m1.rowwise() - m1.colwise().sum()/RealScalar(m1.rows())), (MatrixTy… in vectorwiseop_matrix()