Lines Matching defs:square
45 square = RowSquareMatrixType::Random(rows, rows),
69 VERIFY_IS_APPROX(square*(m1 + m2), square*m1+square*m2);
70 VERIFY_IS_APPROX(square*(m1 - m2), square*m1-square*m2);
73 VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1);
74 VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1));
93 res = square;
95 VERIFY_IS_APPROX(res, square + m1 * m2.transpose());
98 VERIFY(areNotApprox(res,square + m2 * m1.transpose()));
105 res = square;
107 VERIFY_IS_APPROX(res, square - (m1 * m2.transpose()));
110 VERIFY(areNotApprox(res,square - m2 * m1.transpose()));
137 VERIFY_IS_APPROX(res.col(r).noalias() = square.adjoint() * square.col(r), (square.adjoint() * square.col(r)).eval());
138 VERIFY_IS_APPROX(res.col(r).noalias() = square * square.col(r), (square * square.col(r)).eval());