Lines Matching refs:refMat
45 DenseMatrix refMat = DenseMatrix::Zero(rows, cols); in sparse_block() local
46 initSparse<Scalar>(density, refMat, m); in sparse_block()
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()
111 VERIFY_IS_APPROX(m.col(c) + m.col(c), refMat.col(c) + refMat.col(c)); in sparse_block()
117 VERIFY_IS_APPROX(m.row(r) + m.row(r), refMat.row(r) + refMat.row(r)); in sparse_block()