Searched refs:rowvec (Results 1 – 1 of 1) sorted by relevance
31 RowVectorType rowvec = RowVectorType::Random(cols); in vectorwiseop_array() local44 m2.rowwise() += rowvec; in vectorwiseop_array()45 VERIFY_IS_APPROX(m2, m1.rowwise() + rowvec); in vectorwiseop_array()46 VERIFY_IS_APPROX(m2.row(r), m1.row(r) + rowvec); in vectorwiseop_array()48 VERIFY_RAISES_ASSERT(m2.rowwise() += rowvec.transpose()); in vectorwiseop_array()49 VERIFY_RAISES_ASSERT(m1.rowwise() + rowvec.transpose()); in vectorwiseop_array()62 m2.rowwise() -= rowvec; in vectorwiseop_array()63 VERIFY_IS_APPROX(m2, m1.rowwise() - rowvec); in vectorwiseop_array()64 VERIFY_IS_APPROX(m2.row(r), m1.row(r) - rowvec); in vectorwiseop_array()66 VERIFY_RAISES_ASSERT(m2.rowwise() -= rowvec.transpose()); in vectorwiseop_array()[all …]