Lines Matching refs:rowwise
45 VERIFY_IS_MUCH_SMALLER_THAN(m1.rowwise().sum().sum() - m1.sum(), m1.squaredNorm());
47 VERIFY_IS_MUCH_SMALLER_THAN(m1.rowwise().sum() - m2.rowwise().sum() - (m1-m2).rowwise().sum(), (m1-m2).squaredNorm());
56 VERIFY_IS_APPROX(m3.rowwise() += rv1, m1.rowwise() + rv1);
58 VERIFY_IS_APPROX(m3.rowwise() -= rv1, m1.rowwise() - rv1);
62 VERIFY_IS_APPROX(m1.block(0,0,rows,0).rowwise().prod(), ColVectorType::Ones(rows));
128 // TODO allows colwise/rowwise for array
130 VERIFY_IS_APPROX(((m1.array().abs()+1)>RealScalar(0.1)).matrix().rowwise().count(), VectorOfIndices::Constant(rows, cols));