• Home
  • Raw
  • Download

Lines Matching refs:VERIFY_IS_APPROX

48     VERIFY_IS_APPROX(m, refMat);  in sparse_block()
58 VERIFY_IS_APPROX(m.block(i,j,h,w), refMat.block(i,j,h,w)); in sparse_block()
61 VERIFY_IS_APPROX(m.block(i,j,h,w).col(c), refMat.block(i,j,h,w).col(c)); in sparse_block()
64 VERIFY_IS_APPROX(m.block(i,j,h,w).col(c).coeff(r), refMat.block(i,j,h,w).col(c).coeff(r)); in sparse_block()
65 VERIFY_IS_APPROX(m.block(i,j,h,w).coeff(r,c), refMat.block(i,j,h,w).coeff(r,c)); in sparse_block()
70 VERIFY_IS_APPROX(m.block(i,j,h,w).row(r), refMat.block(i,j,h,w).row(r)); in sparse_block()
73 VERIFY_IS_APPROX(m.block(i,j,h,w).row(r).coeff(c), refMat.block(i,j,h,w).row(r).coeff(c)); in sparse_block()
74 VERIFY_IS_APPROX(m.block(i,j,h,w).coeff(r,c), refMat.block(i,j,h,w).coeff(r,c)); in sparse_block()
78 VERIFY_IS_APPROX(m.middleCols(j,w), refMat.middleCols(j,w)); in sparse_block()
79 VERIFY_IS_APPROX(m.middleRows(i,h), refMat.middleRows(i,h)); in sparse_block()
82 VERIFY_IS_APPROX(m.middleCols(j,w).row(r), refMat.middleCols(j,w).row(r)); in sparse_block()
83 VERIFY_IS_APPROX(m.middleRows(i,h).row(r), refMat.middleRows(i,h).row(r)); in sparse_block()
86 VERIFY_IS_APPROX(m.col(c).coeff(r), refMat.col(c).coeff(r)); in sparse_block()
87 VERIFY_IS_APPROX(m.row(r).coeff(c), refMat.row(r).coeff(c)); in sparse_block()
89 VERIFY_IS_APPROX(m.middleCols(j,w).coeff(r,c), refMat.middleCols(j,w).coeff(r,c)); in sparse_block()
90 VERIFY_IS_APPROX(m.middleRows(i,h).coeff(r,c), refMat.middleRows(i,h).coeff(r,c)); in sparse_block()
93 VERIFY_IS_APPROX(m.middleCols(j,w).coeffRef(r,c), refMat.middleCols(j,w).coeff(r,c)); in sparse_block()
97 VERIFY_IS_APPROX(m.middleRows(i,h).coeff(r,c), refMat.middleRows(i,h).coeff(r,c)); in sparse_block()
103 VERIFY_IS_APPROX(m.middleCols(j,w).col(c), refMat.middleCols(j,w).col(c)); in sparse_block()
104 VERIFY_IS_APPROX(m.middleRows(i,h).col(c), refMat.middleRows(i,h).col(c)); in sparse_block()
110 VERIFY_IS_APPROX(m.col(c) + m.col(c), (m + m).col(c)); in sparse_block()
111 VERIFY_IS_APPROX(m.col(c) + m.col(c), refMat.col(c) + refMat.col(c)); in sparse_block()
116 VERIFY_IS_APPROX(m.row(r) + m.row(r), (m + m).row(r)); in sparse_block()
117 VERIFY_IS_APPROX(m.row(r) + m.row(r), refMat.row(r) + refMat.row(r)); in sparse_block()
131 VERIFY_IS_APPROX(m2.innerVector(j0), innervec(refMat2,j0)); in sparse_block()
132VERIFY_IS_APPROX(m2.innerVector(j0)+m2.innerVector(j1), innervec(refMat2,j0)+innervec(refMat2,j1)); in sparse_block()
136 VERIFY_IS_APPROX(m2, refMat2); in sparse_block()
140 VERIFY_IS_APPROX(m2, refMat2); in sparse_block()
144 VERIFY_IS_APPROX(m2, refMat2); in sparse_block()
148 VERIFY_IS_APPROX(m2, refMat2); in sparse_block()
152 VERIFY_IS_APPROX(m2, refMat2); in sparse_block()
155 VERIFY_IS_APPROX(v1 = m2.col(c0) * 4, refMat2.col(c0)*4); in sparse_block()
156 VERIFY_IS_APPROX(v1 = m2.row(r0) * 4, refMat2.row(r0).transpose()*4); in sparse_block()
194 VERIFY_IS_APPROX(m2.innerVectors(j0,n0), refMat2.block(j0,0,n0,cols)); in sparse_block()
196 VERIFY_IS_APPROX(m2.innerVectors(j0,n0), refMat2.block(0,j0,rows,n0)); in sparse_block()
198 VERIFY_IS_APPROX(m2.innerVectors(j0,n0)+m2.innerVectors(j1,n0), in sparse_block()
201 VERIFY_IS_APPROX(m2.innerVectors(j0,n0)+m2.innerVectors(j1,n0), in sparse_block()
204 VERIFY_IS_APPROX(m2, refMat2); in sparse_block()
214 VERIFY_IS_APPROX(m2, refMat2); in sparse_block()
226 VERIFY_IS_APPROX(m2.block(j0,0,n0,cols), refMat2.block(j0,0,n0,cols)); in sparse_block()
228 VERIFY_IS_APPROX(m2.block(0,j0,rows,n0), refMat2.block(0,j0,rows,n0)); in sparse_block()
231 VERIFY_IS_APPROX(m2.block(j0,0,n0,cols)+m2.block(j1,0,n0,cols), in sparse_block()
234 VERIFY_IS_APPROX(m2.block(0,j0,rows,n0)+m2.block(0,j1,rows,n0), in sparse_block()
241 VERIFY_IS_APPROX(m2,refMat2); in sparse_block()
245 VERIFY_IS_APPROX(m2,refMat2); in sparse_block()
253 VERIFY_IS_APPROX(DenseVector(m2.col(c0)), refMat2.col(c0)); in sparse_block()
254 VERIFY_IS_APPROX(m2.col(c0), refMat2.col(c0)); in sparse_block()
256 VERIFY_IS_APPROX(RowDenseVector(m2.row(r0)), refMat2.row(r0)); in sparse_block()
257 VERIFY_IS_APPROX(m2.row(r0), refMat2.row(r0)); in sparse_block()
259 VERIFY_IS_APPROX(m2.block(r0,c0,r1,c1), refMat2.block(r0,c0,r1,c1)); in sparse_block()
260 VERIFY_IS_APPROX((2*m2).block(r0,c0,r1,c1), (2*refMat2).block(r0,c0,r1,c1)); in sparse_block()
264 VERIFY_IS_APPROX(m2, refMat2); in sparse_block()
286 VERIFY_IS_APPROX(m3, refMat3); in sparse_block()