Lines Matching refs:nonZeros
110 VERIFY_IS_EQUAL( (As*As.transpose()).eval().nonZeros(), 4);
111 VERIFY_IS_EQUAL( (Ad*Ad.transpose()).eval().sparseView().eval().nonZeros(), 2);
112 VERIFY_IS_EQUAL( (As*As.transpose()).pruned(1e-6).eval().nonZeros(), 2);
175 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());
177 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());
181 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());
183 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());
187 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());
191 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());
193 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());
197 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());
199 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());
203 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count());