Home
last modified time | relevance | path

Searched refs:nonZeros (Results 1 – 25 of 43) sorted by relevance

12

/external/eigen/Eigen/src/SparseCore/
DSparseTranspose.h26 inline Index nonZeros() const { return derived().nestedExpression().nonZeros(); } in nonZeros() function
DSparseBlock.h82 Index nonZeros() const;
148 Index nnz = tmp.nonZeros();
191 matrix.innerNonZeroPtr()[m_outerStart+j] = tmp.innerVector(j).nonZeros();
198 p += tmp.innerVector(k).nonZeros();
229 Index nonZeros() const in nonZeros() function
258 eigen_assert(nonZeros()>0); in lastCoeff()
331 Index nonZeros() const in nonZeros() function
355 eigen_assert(nonZeros()>0); in lastCoeff()
DSparseSparseProductWithPruning.h42 Index estimated_nnz_prod = lhs.nonZeros() + rhs.nonZeros(); in sparse_sparse_product_with_pruning_impl()
DAmbiVector.h39 Index nonZeros() const;
125 _Index AmbiVector<_Scalar,_Index>::nonZeros() const in nonZeros() function
DConservativeSparseSparseProduct.h38 Index estimated_nnz_prod = lhs.nonZeros() + rhs.nonZeros(); in conservative_sparse_sparse_product_impl()
DSparseVector.h135 inline Index nonZeros() const { return static_cast<Index>(m_data.size()); }
274 for (Index i=0; i<m.nonZeros(); ++i)
DSparseMatrixBase.h158 inline Index nonZeros() const { return derived().nonZeros(); } in nonZeros() function
DMappedSparseMatrix.h106 inline Index nonZeros() const { return m_nnz; }
/external/eigen/Eigen/src/SparseCholesky/
DSimplicialCholesky.h142 …s << " L: " << ((total+=(m_matrix.cols()+1) * sizeof(int) + m_matrix.nonZeros()*(sizeof(in… in dumpMemory()
166 if(m_matrix.nonZeros()>0) // otherwise L==I in _solve()
172 if (m_matrix.nonZeros()>0) // otherwise U==I in _solve()
576 if(Base::m_matrix.nonZeros()>0) // otherwise L==I
587 if (Base::m_matrix.nonZeros()>0) // otherwise I==I
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineMatrixBase.h122 inline Index nonZeros() const { in nonZeros() function
123 return derived().nonZeros(); in nonZeros()
/external/eigen/bench/
Dsparse_cholesky.cpp73 std::cout << " nnz: " << sm1.nonZeros() << " => " << chol.matrixL().nonZeros() << "\n"; in doEigen()
Dsparse_product.cpp155 …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()
Dsparse_randomsetter.cpp57 << " nnz=" << set1->nonZeros() << std::flush; in dostuff()
Dsparse_transpose.cpp59 std::cout << "Non zeros: " << sm1.nonZeros()/float(sm1.rows()*sm1.cols())*100 << "%\n"; in main()
Dsparse_dense_product.cpp93 std::cout << "Eigen sparse\t" << sm1.nonZeros()/float(sm1.rows()*sm1.cols())*100 << "%\n"; in main()
/external/eigen/unsupported/test/
Dkronecker_product.cpp31 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/unsupported/Eigen/src/SparseExtra/
DRandomSetter.h216 mp_target->reserve(nonZeros()); in ~RandomSetter()
308 Index nonZeros() const in nonZeros() function
DBlockOfDynamicSparseMatrix.h86 Index nonZeros() const
/external/eigen/unsupported/Eigen/src/KroneckerProduct/
DKroneckerTensorProduct.h131 dst.reserve(m_A.nonZeros() * m_B.nonZeros()); in evalTo()
/external/eigen/test/eigen2/
Deigen2_sparse_basic.cpp300 VERIFY(countFalseNonZero+countTrueNonZero == m2.nonZeros()); in sparse_basic()
303 VERIFY(countTrueNonZero==m2.nonZeros()); in sparse_basic()
Deigen2_sparse_vector.cpp45 VERIFY(int(nonzerocoords.size()) == v1.nonZeros()); in sparse_vector()
/external/eigen/Eigen/src/OrderingMethods/
DOrdering.h131 Index nnz = mat.nonZeros(); in operator()
/external/eigen/test/
Dsparse_basic.cpp222 VERIFY(j==numext::real(m3.innerVector(j).nonZeros())); in sparse_basic()
229 VERIFY(j==numext::real(m3.innerVector(j).nonZeros())); in sparse_basic()
406 VERIFY(countFalseNonZero+countTrueNonZero == m2.nonZeros()); in sparse_basic()
409 VERIFY(countTrueNonZero==m2.nonZeros()); in sparse_basic()
Dsparse_vector.cpp45 VERIFY(int(nonzerocoords.size()) == v1.nonZeros()); in sparse_vector()
Dsparse_solvers.cpp65 …MappedSparseMatrix<Scalar> mm2(rows, cols, cm2.nonZeros(), cm2.outerIndexPtr(), cm2.innerIndexPtr(… in sparse_solvers()

12