/external/eigen/Eigen/src/SparseCore/ |
D | SparseCompressedBase.h | 56 inline Index nonZeros() const 59 return derived().nonZeros(); 114 …const { eigen_assert(isCompressed()); return Array<Scalar,Dynamic,1>::Map(valuePtr(),nonZeros()); } 126 …ffs() { eigen_assert(isCompressed()); return Array<Scalar,Dynamic,1>::Map(valuePtr(),nonZeros()); } 163 m_end = mat.nonZeros(); 176 …_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(0), m_id(0), m_end(mat.nonZeros()) 223 m_id = mat.nonZeros(); 236 …alues(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(0), m_start(0), m_id(mat.nonZeros()) 292 return m_matrix->nonZeros();
|
D | SparseTranspose.h | 31 inline Index nonZeros() const { return derived().nestedExpression().nonZeros(); } in nonZeros() function
|
D | SparseBlock.h | 42 Index nonZeros() const in nonZeros() function 132 Index nnz = tmp.nonZeros(); 194 StorageIndex nnz_k = internal::convert_index<StorageIndex>(tmp.innerVector(k).nonZeros()); 259 eigen_assert(Base::nonZeros()>0); in lastCoeff() 437 Index nonZeros() const { return Dynamic; } 489 Index nnz = m_block.nonZeros();
|
D | SparseVector.h | 140 inline Index nonZeros() const { return m_data.size(); } 334 for (Index i=0; i<m.nonZeros(); ++i) 431 return m_matrix->nonZeros();
|
D | AmbiVector.h | 39 Index nonZeros() const; 129 Index AmbiVector<_Scalar,_StorageIndex>::nonZeros() const in nonZeros() function
|
D | SparseRef.h | 101 …::new (static_cast<Base*>(this)) Base(expr.size(), expr.nonZeros(), expr.innerIndexPtr(), expr.val… 103 …::new (static_cast<Base*>(this)) Base(expr.rows(), expr.cols(), expr.nonZeros(), expr.outerIndexPt…
|
/external/eigen/test/ |
D | sparse_basic.cpp | 164 Index m1_nnz = m1.nonZeros(); in sparse_basic() 172 VERIFY_IS_EQUAL(m4.nonZeros(), m1_nnz); in sparse_basic() 218 VERIFY_IS_EQUAL(m1.nonZeros(), m1_nnz); in sparse_basic() 220 VERIFY_IS_EQUAL(m1.nonZeros(), m1_nnz); in sparse_basic() 236 VERIFY_IS_EQUAL(m1.nonZeros(), m1_nnz); in sparse_basic() 239 VERIFY_IS_EQUAL(m1.nonZeros(), m1_nnz); in sparse_basic() 242 VERIFY_IS_EQUAL(m1.nonZeros(), m1_nnz); in sparse_basic() 245 VERIFY_IS_EQUAL(m1.nonZeros(), m1_nnz); in sparse_basic() 269 …VERIFY_IS_EQUAL(mb3.nonZeros(), (refM1.real().template cast<bool>() && refM2.real().template cast<… in sparse_basic() 351 VERIFY(countFalseNonZero+countTrueNonZero == m2.nonZeros()); in sparse_basic() [all …]
|
D | sparse_product.cpp | 110 VERIFY_IS_EQUAL( (As*As.transpose()).eval().nonZeros(), 4); in sparse_product() 111 VERIFY_IS_EQUAL( (Ad*Ad.transpose()).eval().sparseView().eval().nonZeros(), 2); in sparse_product() 112 VERIFY_IS_EQUAL( (As*As.transpose()).pruned(1e-6).eval().nonZeros(), 2); in sparse_product() 175 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count()); in sparse_product() 177 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count()); in sparse_product() 181 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count()); in sparse_product() 183 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count()); in sparse_product() 187 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count()); in sparse_product() 191 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count()); in sparse_product() 193 VERIFY_IS_EQUAL(m4.nonZeros(), (refMat4.array()!=0).count()); in sparse_product() [all …]
|
D | sparse_block.cpp | 165 VERIFY(j==numext::real(m3.innerVector(j).nonZeros())); in sparse_block() 172 VERIFY(j==numext::real(m3.innerVector(j).nonZeros())); in sparse_block() 177 VERIFY(m3.innerVector(j0).nonZeros() == m3.transpose().innerVector(j0).nonZeros()); in sparse_block() 206 VERIFY(m2.innerVectors(j0,n0).nonZeros() == m2.transpose().innerVectors(j0,n0).nonZeros()); in sparse_block() 262 if(m2.nonZeros()>0) in sparse_block() 285 if(m3.nonZeros()>0) in sparse_block()
|
D | sparse_solvers.cpp | 65 …MappedSparseMatrix<Scalar> mm2(rows, cols, cm2.nonZeros(), cm2.outerIndexPtr(), cm2.innerIndexPtr(… in sparse_solvers()
|
D | sparse_vector.cpp | 45 VERIFY(int(nonzerocoords.size()) == v1.nonZeros()); in sparse_vector()
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
D | SkylineMatrixBase.h | 122 inline Index nonZeros() const { in nonZeros() function 123 return derived().nonZeros(); in nonZeros()
|
/external/eigen/Eigen/src/SparseCholesky/ |
D | SimplicialCholesky.h | 145 …s << " L: " << ((total+=(m_matrix.cols()+1) * sizeof(int) + m_matrix.nonZeros()*(sizeof(in… 169 if(m_matrix.nonZeros()>0) // otherwise L==I 175 if (m_matrix.nonZeros()>0) // otherwise U==I 602 if(Base::m_matrix.nonZeros()>0) // otherwise L==I 613 if (Base::m_matrix.nonZeros()>0) // otherwise I==I
|
/external/eigen/doc/snippets/ |
D | SparseMatrix_coeffs.cpp | 7 cout << "it has " << A.nonZeros() << " stored non zero coefficients that are: " << A.coeffs().trans…
|
/external/eigen/bench/ |
D | sparse_cholesky.cpp | 73 std::cout << " nnz: " << sm1.nonZeros() << " => " << chol.matrixL().nonZeros() << "\n"; in doEigen()
|
D | sparse_product.cpp | 155 …std::cout << "Eigen sparse\t" << sm1.nonZeros()/(float(sm1.rows())*float(sm1.cols()))*100 << "% * " in main() 156 << sm2.nonZeros()/(float(sm2.rows())*float(sm2.cols()))*100 << "%\n"; in main()
|
D | sparse_randomsetter.cpp | 57 << " nnz=" << set1->nonZeros() << std::flush; in dostuff()
|
D | sparse_transpose.cpp | 59 std::cout << "Non zeros: " << sm1.nonZeros()/float(sm1.rows()*sm1.cols())*100 << "%\n"; in main()
|
D | sparse_dense_product.cpp | 93 std::cout << "Eigen sparse\t" << sm1.nonZeros()/float(sm1.rows()*sm1.cols())*100 << "%\n"; in main()
|
/external/tensorflow/tensorflow/core/kernels/sparse/ |
D | sparse_cholesky_op.cc | 157 sparse_cholesky_factors[batch_index].nonZeros(); in Compute() 196 const int64 nnz = cholesky_factor.nonZeros(); in Compute()
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
D | RandomSetter.h | 216 mp_target->reserve(nonZeros()); in ~RandomSetter() 308 Index nonZeros() const in nonZeros() function
|
D | BlockOfDynamicSparseMatrix.h | 86 Index nonZeros() const
|
D | DynamicSparseMatrix.h | 122 Index nonZeros() const 383 Index nonZerosEstimate() const { return m_matrix->nonZeros(); }
|
/external/eigen/unsupported/test/ |
D | kronecker_product.cpp | 31 VERIFY_IS_EQUAL(ab.nonZeros(), 36); in check_kronecker_product() 76 VERIFY_IS_EQUAL(ab.nonZeros(), 3*2); in check_sparse_kronecker_product()
|
/external/eigen/Eigen/src/OrderingMethods/ |
D | Ordering.h | 134 StorageIndex nnz = StorageIndex(mat.nonZeros()); in operator()
|