Lines Matching refs:VERIFY_IS_APPROX
60 VERIFY_IS_APPROX((m1*m1.transpose())*m2, m1*(m1.transpose()*m2)); in product()
63 VERIFY_IS_APPROX(m3, m1 * (m1.transpose()*m2)); in product()
64 VERIFY_IS_APPROX(m3, m1 * (m1.transpose()*m2)); in product()
67 VERIFY_IS_APPROX(square*(m1 + m2), square*m1+square*m2); in product()
68 VERIFY_IS_APPROX(square*(m1 - m2), square*m1-square*m2); in product()
71 VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1); in product()
72 VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1)); in product()
75 VERIFY_IS_APPROX(v1, identity*v1); in product()
76 VERIFY_IS_APPROX(v1.transpose(), v1.transpose() * identity); in product()
78 VERIFY_IS_APPROX(MatrixType::Identity(rows, cols)(r,c), static_cast<Scalar>(r==c)); in product()
93 VERIFY_IS_APPROX(res, square + m1 * m2.transpose()); in product()
100 VERIFY_IS_APPROX(vcres, vc2 + m1.transpose() * v1); in product()
105 VERIFY_IS_APPROX(res, square - (m1 * m2.transpose())); in product()
112 VERIFY_IS_APPROX(vcres, vc2 - m1.transpose() * v1); in product()
116 VERIFY_IS_APPROX(res, square + m1 * m2.transpose()); in product()
118 VERIFY_IS_APPROX(res, 2*(square + m1 * m2.transpose())); in product()
120 VERIFY_IS_APPROX(res, square + m1 * m2.transpose()); in product()
124 VERIFY_IS_APPROX(res, square - m1 * m2.transpose()); in product()
126 VERIFY_IS_APPROX(res, 2*(square - m1 * m2.transpose())); in product()
128 VERIFY_IS_APPROX(res, square - m1 * m2.transpose()); in product()
132 VERIFY_IS_APPROX(tm1.transpose() * v1, m1.transpose() * v1); in product()
133 VERIFY_IS_APPROX(v1.transpose() * tm1, v1.transpose() * m1); in product()
138 VERIFY_IS_APPROX(res, m1 * m2.transpose()); in product()
142 VERIFY_IS_APPROX(res, m1 * m2.transpose()); in product()
146 VERIFY_IS_APPROX(res2, square2 + m1.transpose() * m2); in product()
152 …VERIFY_IS_APPROX(res.col(r).noalias() = square.adjoint() * square.col(r), (square.adjoint() * squa… in product()
153 VERIFY_IS_APPROX(res.col(r).noalias() = square * square.col(r), (square * square.col(r)).eval()); in product()
160 …VERIFY_IS_APPROX(res.block(0,0,1,rows).noalias() = m1.col(0).transpose() * square.transpose(), … in product()
161 …VERIFY_IS_APPROX(res.block(0,0,1,rows).noalias() = m1.block(0,0,rows,1).transpose() * square.trans… in product()
162 …VERIFY_IS_APPROX(res.block(0,0,1,rows).noalias() = m1.col(0).transpose() * square, … in product()
163 …VERIFY_IS_APPROX(res.block(0,0,1,rows).noalias() = m1.block(0,0,rows,1).transpose() * square, … in product()
165 …VERIFY_IS_APPROX(res2.block(0,0,1,cols).noalias() = m1.row(0) * square2.transpose(), … in product()
166 …VERIFY_IS_APPROX(res2.block(0,0,1,cols).noalias() = m1.block(0,0,1,cols) * square2.transpose(), … in product()
167 …VERIFY_IS_APPROX(res2.block(0,0,1,cols).noalias() = m1.row(0) * square2, … in product()
168 …VERIFY_IS_APPROX(res2.block(0,0,1,cols).noalias() = m1.block(0,0,1,cols) * square2, … in product()
174 VERIFY_IS_APPROX(square * v1.block(0,0,rows,1), square * v1); in product()
175 VERIFY_IS_APPROX(w1.noalias() = square * v1.block(0,0,rows,1), square * v1); in product()
176 VERIFY_IS_APPROX(w1.block(0,0,rows,1).noalias() = square * v1.block(0,0,rows,1), square * v1); in product()
179 VERIFY_IS_APPROX(vc2.block(0,0,cols,1).transpose() * square2, vc2.transpose() * square2); in product()
180 …VERIFY_IS_APPROX(w2.noalias() = vc2.block(0,0,cols,1).transpose() * square2, vc2.transpose() * squ… in product()
181 …VERIFY_IS_APPROX(w2.block(0,0,1,cols).noalias() = vc2.block(0,0,cols,1).transpose() * square2, vc2… in product()
184 VERIFY_IS_APPROX(square2.block(0,0,1,cols) * square2, vc2.transpose() * square2); in product()
185 VERIFY_IS_APPROX(w2.noalias() = square2.block(0,0,1,cols) * square2, vc2.transpose() * square2); in product()
186 …VERIFY_IS_APPROX(w2.block(0,0,1,cols).noalias() = square2.block(0,0,1,cols) * square2, vc2.transpo… in product()
189 VERIFY_IS_APPROX(square2.block(0,0,cols,1).transpose() * square2, vc2.transpose() * square2); in product()
190 …VERIFY_IS_APPROX(w2.noalias() = square2.block(0,0,cols,1).transpose() * square2, vc2.transpose() *… in product()
191 …VERIFY_IS_APPROX(w2.block(0,0,1,cols).noalias() = square2.block(0,0,cols,1).transpose() * square2,… in product()
197 VERIFY_IS_APPROX(x, square2.row(c).transpose().cwiseProduct(square2.col(c2)).sum()); in product()
202 VERIFY_IS_APPROX(m1.col(c) * m1.row(r), m1.block(0,c,rows,1) * m1.block(r,0,1,cols)); in product()
203 …VERIFY_IS_APPROX(m1.row(r).transpose() * m1.col(c).transpose(), m1.block(r,0,1,cols).transpose() *… in product()
204 VERIFY_IS_APPROX(m1.block(0,c,rows,1) * m1.row(r), m1.block(0,c,rows,1) * m1.block(r,0,1,cols)); in product()
205 VERIFY_IS_APPROX(m1.col(c) * m1.block(r,0,1,cols), m1.block(0,c,rows,1) * m1.block(r,0,1,cols)); in product()
206 VERIFY_IS_APPROX(m1.leftCols(1) * m1.row(r), m1.block(0,0,rows,1) * m1.block(r,0,1,cols)); in product()
207 VERIFY_IS_APPROX(m1.col(c) * m1.topRows(1), m1.block(0,c,rows,1) * m1.block(0,0,1,cols)); in product()
217 VERIFY_IS_APPROX(x = y + A*x, A*z); in product()
220 VERIFY_IS_APPROX(x = Scalar(1.)*(A*x), A*z); in product()
225 …VERIFY_IS_APPROX(square * (square*square).transpose(), square * square.transpose() * square.transp… in product()
226 VERIFY_IS_APPROX(square * (-(square*square)), -square * square * square); in product()
227 VERIFY_IS_APPROX(square * (s1*(square*square)), s1 * square * square * square); in product()
228 …VERIFY_IS_APPROX(square * (square*square).conjugate(), square * square.conjugate() * square.conjug… in product()