Lines Matching refs:refMat2
52 DenseMatrix refMat2 = DenseMatrix::Zero(rows, depth); in sparse_product() local
69 initSparse(density, refMat2, m2); in sparse_product()
80 VERIFY_IS_APPROX(m4=m2*m3, refMat4=refMat2*refMat3); in sparse_product()
83 VERIFY_IS_APPROX(m4=m2*m3t.transpose(), refMat4=refMat2*refMat3t.transpose()); in sparse_product()
85 VERIFY_IS_APPROX(m4 = m2*m3/s1, refMat4 = refMat2*refMat3/s1); in sparse_product()
86 VERIFY_IS_APPROX(m4 = m2*m3*s1, refMat4 = refMat2*refMat3*s1); in sparse_product()
87 VERIFY_IS_APPROX(m4 = s2*m2*m3*s1, refMat4 = s2*refMat2*refMat3*s1); in sparse_product()
88 VERIFY_IS_APPROX(m4 = (m2+m2)*m3, refMat4 = (refMat2+refMat2)*refMat3); in sparse_product()
89 VERIFY_IS_APPROX(m4 = m2*m3.leftCols(cols/2), refMat4 = refMat2*refMat3.leftCols(cols/2)); in sparse_product()
90 …VERIFY_IS_APPROX(m4 = m2*(m3+m3).leftCols(cols/2), refMat4 = refMat2*(refMat3+refMat3).leftCols(co… in sparse_product()
92 VERIFY_IS_APPROX(m4=(m2*m3).pruned(0), refMat4=refMat2*refMat3); in sparse_product()
95 VERIFY_IS_APPROX(m4=(m2*m3t.transpose()).pruned(0), refMat4=refMat2*refMat3t.transpose()); in sparse_product()
116 VERIFY_IS_APPROX(dm4 =m2*m3, refMat4 =refMat2*refMat3); in sparse_product()
117 VERIFY_IS_APPROX(dm4+=m2*m3, refMat4+=refMat2*refMat3); in sparse_product()
118 VERIFY_IS_APPROX(dm4-=m2*m3, refMat4-=refMat2*refMat3); in sparse_product()
125 VERIFY_IS_APPROX(dm4 =m2*m3t.transpose(), refMat4 =refMat2*refMat3t.transpose()); in sparse_product()
126 VERIFY_IS_APPROX(dm4+=m2*m3t.transpose(), refMat4+=refMat2*refMat3t.transpose()); in sparse_product()
127 VERIFY_IS_APPROX(dm4-=m2*m3t.transpose(), refMat4-=refMat2*refMat3t.transpose()); in sparse_product()
128 VERIFY_IS_APPROX(dm4 = m2*m3*s1, refMat4 = refMat2*refMat3*s1); in sparse_product()
131 m4 = m2; refMat4 = refMat2; in sparse_product()
135 VERIFY_IS_APPROX(dm4=m2*refMat3, refMat4=refMat2*refMat3); in sparse_product()
136 VERIFY_IS_APPROX(dm4=m2*refMat3t.transpose(), refMat4=refMat2*refMat3t.transpose()); in sparse_product()
140 VERIFY_IS_APPROX(dm4=m2*refMat3, refMat4=refMat2*refMat3); in sparse_product()
141 VERIFY_IS_APPROX(dm4=dm4+m2*refMat3, refMat4=refMat4+refMat2*refMat3); in sparse_product()
142 VERIFY_IS_APPROX(dm4+=m2*refMat3, refMat4+=refMat2*refMat3); in sparse_product()
143 VERIFY_IS_APPROX(dm4-=m2*refMat3, refMat4-=refMat2*refMat3); in sparse_product()
144 VERIFY_IS_APPROX(dm4.noalias()+=m2*refMat3, refMat4+=refMat2*refMat3); in sparse_product()
145 VERIFY_IS_APPROX(dm4.noalias()-=m2*refMat3, refMat4-=refMat2*refMat3); in sparse_product()
146 VERIFY_IS_APPROX(dm4=m2*(refMat3+refMat3), refMat4=refMat2*(refMat3+refMat3)); in sparse_product()
150 VERIFY_IS_APPROX(dm4.col(0)=m2*refMat3.col(0), refMat4.col(0)=refMat2*refMat3.col(0)); in sparse_product()
151 …VERIFY_IS_APPROX(dm4.col(0)=m2*refMat3t.transpose().col(0), refMat4.col(0)=refMat2*refMat3t.transp… in sparse_product()
156 VERIFY_IS_APPROX(dm4=refMat2*m3, refMat4=refMat2*refMat3); in sparse_product()
157 VERIFY_IS_APPROX(dm4=dm4+refMat2*m3, refMat4=refMat4+refMat2*refMat3); in sparse_product()
158 VERIFY_IS_APPROX(dm4+=refMat2*m3, refMat4+=refMat2*refMat3); in sparse_product()
159 VERIFY_IS_APPROX(dm4-=refMat2*m3, refMat4-=refMat2*refMat3); in sparse_product()
160 VERIFY_IS_APPROX(dm4.noalias()+=refMat2*m3, refMat4+=refMat2*refMat3); in sparse_product()
161 VERIFY_IS_APPROX(dm4.noalias()-=refMat2*m3, refMat4-=refMat2*refMat3); in sparse_product()
162 VERIFY_IS_APPROX(dm4=refMat2*m3t.transpose(), refMat4=refMat2*refMat3t.transpose()); in sparse_product()
174 …VERIFY_IS_APPROX( m4=m2.col(c)*dm5.col(c1).transpose(), refMat4=refMat2.col(c)*dm5.col(c1).transpo… in sparse_product()
176 …VERIFY_IS_APPROX( m4=m2.middleCols(c,1)*dm5.col(c1).transpose(), refMat4=refMat2.col(c)*dm5.col(c1… in sparse_product()
178 …VERIFY_IS_APPROX(dm4=m2.col(c)*dm5.col(c1).transpose(), refMat4=refMat2.col(c)*dm5.col(c1).transpo… in sparse_product()
180 …VERIFY_IS_APPROX(m4=dm5.col(c1)*m2.col(c).transpose(), refMat4=dm5.col(c1)*refMat2.col(c).transpos… in sparse_product()
182 …VERIFY_IS_APPROX(m4=dm5.col(c1)*m2.middleCols(c,1).transpose(), refMat4=dm5.col(c1)*refMat2.col(c)… in sparse_product()
184 …VERIFY_IS_APPROX(dm4=dm5.col(c1)*m2.col(c).transpose(), refMat4=dm5.col(c1)*refMat2.col(c).transpo… in sparse_product()
186 …w(r1).transpose()*m2.col(c).transpose(), refMat4=dm5.row(r1).transpose()*refMat2.col(c).transpose(… in sparse_product()
188 …w(r1).transpose()*m2.col(c).transpose(), refMat4=dm5.row(r1).transpose()*refMat2.col(c).transpose(… in sparse_product()
190 …VERIFY_IS_APPROX( m4=m2.row(r).transpose()*dm5.col(c1).transpose(), refMat4=refMat2.row(r).transpo… in sparse_product()
192 …VERIFY_IS_APPROX( m4=m2.middleRows(r,1).transpose()*dm5.col(c1).transpose(), refMat4=refMat2.row(r… in sparse_product()
194 …VERIFY_IS_APPROX(dm4=m2.row(r).transpose()*dm5.col(c1).transpose(), refMat4=refMat2.row(r).transpo… in sparse_product()
196 VERIFY_IS_APPROX( m4=dm5.col(c1)*m2.row(r), refMat4=dm5.col(c1)*refMat2.row(r)); in sparse_product()
198 VERIFY_IS_APPROX( m4=dm5.col(c1)*m2.middleRows(r,1), refMat4=dm5.col(c1)*refMat2.row(r)); in sparse_product()
200 VERIFY_IS_APPROX(dm4=dm5.col(c1)*m2.row(r), refMat4=dm5.col(c1)*refMat2.row(r)); in sparse_product()
202 …Y_IS_APPROX( m4=dm5.row(r1).transpose()*m2.row(r), refMat4=dm5.row(r1).transpose()*refMat2.row(r)); in sparse_product()
204 …Y_IS_APPROX(dm4=dm5.row(r1).transpose()*m2.row(r), refMat4=dm5.row(r1).transpose()*refMat2.row(r)); in sparse_product()