Home
last modified time | relevance | path

Searched refs:outerIndexPtr (Results 1 – 25 of 29) sorted by relevance

12

/external/eigen/Eigen/src/SparseCore/
DSparseCompressedBase.h58 if(Derived::IsVectorAtCompileTime && outerIndexPtr()==0)
61 return outerIndexPtr()[derived().outerSize()]-outerIndexPtr()[0];
90 inline const StorageIndex* outerIndexPtr() const { return derived().outerIndexPtr(); }
95 inline StorageIndex* outerIndexPtr() { return derived().outerIndexPtr(); }
142 Index start = this->outerIndexPtr()[outer];
143 …Index end = this->isCompressed() ? this->outerIndexPtr()[outer+1] : this->outerIndexPtr()[outer] +…
182 if(Derived::IsVectorAtCompileTime && mat.outerIndexPtr()==0)
189 m_id = mat.outerIndexPtr()[outer];
191 m_end = mat.outerIndexPtr()[outer+1];
250 if(Derived::IsVectorAtCompileTime && mat.outerIndexPtr()==0)
[all …]
DSparseMap.h99 inline const StorageIndex* outerIndexPtr() const { return m_outerIndex; }
124 …inline SparseMapBase(Index rows, Index cols, Index nnz, IndexPointer outerIndexPtr, IndexPointer i…
126 …?cols:rows), m_zero_nnz(0,internal::convert_index<StorageIndex>(nnz)), m_outerIndex(outerIndexPtr),
167 using Base::outerIndexPtr;
174 inline StorageIndex* outerIndexPtr() { return Base::m_outerIndex; }
195 …inline SparseMapBase(Index rows, Index cols, Index nnz, StorageIndex* outerIndexPtr, StorageIndex*…
197 : Base(rows, cols, nnz, outerIndexPtr, innerIndexPtr, valuePtr, innerNonZerosPtr)
245 inline Map(Index rows, Index cols, Index nnz, StorageIndex* outerIndexPtr,
247 : Base(rows, cols, nnz, outerIndexPtr, innerIndexPtr, valuePtr, innerNonZerosPtr)
270 inline Map(Index rows, Index cols, Index nnz, const StorageIndex* outerIndexPtr,
[all …]
DSparseTranspose.h35 …inline const StorageIndex* outerIndexPtr() const { return derived().nestedExpression().outerIndexP… in outerIndexPtr() function
40 inline StorageIndex* outerIndexPtr() { return derived().nestedExpression().outerIndexPtr(); } in outerIndexPtr() function
DSparseBlock.h133 …Index start = m_outerStart==0 ? 0 : m_matrix.outerIndexPtr()[m_outerStart]; // starting po…
134 …Index end = m_matrix.outerIndexPtr()[m_outerStart+m_outerSize.value()]; // ending positi…
136 Index tail_size = m_matrix.outerIndexPtr()[m_matrix.outerSize()] - end;
142 Index tmp_start = tmp.outerIndexPtr()[0];
159 newdata.resize(m_matrix.outerIndexPtr()[m_matrix.outerSize()] - block_size + nnz);
187 matrix.outerIndexPtr()[m_outerStart] = StorageIndex(start);
197 matrix.outerIndexPtr()[m_outerStart+k] = p;
207 matrix.outerIndexPtr()[k] += offset;
229 inline const StorageIndex* outerIndexPtr() const in outerIndexPtr() function
230 { return m_matrix.outerIndexPtr() + m_outerStart; } in outerIndexPtr()
[all …]
DMappedSparseMatrix.h42 …inline MappedSparseMatrix(Index rows, Index cols, Index nnz, StorageIndex* outerIndexPtr, StorageI…
43 : Base(rows, cols, nnz, outerIndexPtr, innerIndexPtr, valuePtr, innerNonZeroPtr)
DSparseSelfAdjointView.h474 dest.outerIndexPtr()[0] = 0;
476 dest.outerIndexPtr()[j+1] = dest.outerIndexPtr()[j] + count[j];
478 count[j] = dest.outerIndexPtr()[j];
555 dest.outerIndexPtr()[0] = 0;
557 dest.outerIndexPtr()[j+1] = dest.outerIndexPtr()[j] + count[j];
558 dest.resizeNonZeros(dest.outerIndexPtr()[size]);
560 count[j] = dest.outerIndexPtr()[j];
DSparseVector.h92 inline const StorageIndex* outerIndexPtr() const { return 0; }
93 inline StorageIndex* outerIndexPtr() { return 0; }
DSparseRef.h100 if(expr.outerIndexPtr()==0)
103 …st<Base*>(this)) Base(expr.rows(), expr.cols(), expr.nonZeros(), expr.outerIndexPtr(), expr.innerI…
DSparseMatrix.h168 inline const StorageIndex* outerIndexPtr() const { return m_outerIndex; }
172 inline StorageIndex* outerIndexPtr() { return m_outerIndex; }
944 Eigen::Map<ArrayXI>(this->outerIndexPtr(), n+1).setLinSpaced(0,StorageIndex(n));
/external/eigen/Eigen/src/SparseLU/
DSparseLU.h527 …nstructed_variable(StorageIndex,outerIndexPtr,mat.cols()+1,mat.isCompressed()?const_cast<StorageIn… in analyzePattern()
531 …IndexVector::Map(outerIndexPtr, mat.cols()+1) = IndexVector::Map(m_mat.outerIndexPtr(),mat.cols()+… in analyzePattern()
536 m_mat.outerIndexPtr()[m_perm_c.indices()(i)] = outerIndexPtr[i]; in analyzePattern()
537 m_mat.innerNonZeroPtr()[m_perm_c.indices()(i)] = outerIndexPtr[i+1] - outerIndexPtr[i]; in analyzePattern()
610 const StorageIndex * outerIndexPtr; in factorize() local
611 if (matrix.isCompressed()) outerIndexPtr = matrix.outerIndexPtr(); in factorize()
615 for(Index i = 0; i <= matrix.cols(); i++) outerIndexPtr_t[i] = m_mat.outerIndexPtr()[i]; in factorize()
616 outerIndexPtr = outerIndexPtr_t; in factorize()
620 m_mat.outerIndexPtr()[m_perm_c.indices()(i)] = outerIndexPtr[i]; in factorize()
621 m_mat.innerNonZeroPtr()[m_perm_c.indices()(i)] = outerIndexPtr[i+1] - outerIndexPtr[i]; in factorize()
[all …]
/external/eigen/Eigen/src/KLUSupport/
DKLUSupport.h241 …const_cast<StorageIndex*>(mp_matrix.outerIndexPtr()), const_cast<StorageIndex*>(mp_matrix.innerInd… in analyzePattern_impl()
254 …m_numeric = klu_factor(const_cast<StorageIndex*>(mp_matrix.outerIndexPtr()), const_cast<StorageInd… in factorize_impl()
325 umfpack_get_numeric(m_l.outerIndexPtr(), m_l.innerIndexPtr(), m_l.valuePtr(),
326 m_u.outerIndexPtr(), m_u.innerIndexPtr(), m_u.valuePtr(),
/external/eigen/Eigen/src/PaStiXSupport/
DPaStiXSupport.h99 if ( !(mat.outerIndexPtr()[0]) )
103 ++mat.outerIndexPtr()[i];
114 if ( mat.outerIndexPtr()[0] == 1 )
118 --mat.outerIndexPtr()[i];
321 …internal::eigen_pastix(&m_pastixdata, MPI_COMM_WORLD, m_size, mat.outerIndexPtr(), mat.innerIndexP…
346 …internal::eigen_pastix(&m_pastixdata, MPI_COMM_WORLD, m_size, mat.outerIndexPtr(), mat.innerIndexP…
/external/eigen/unsupported/Eigen/src/SparseExtra/
DRandomSetter.h278 mp_target->outerIndexPtr()[j] = count; in ~RandomSetter()
283 mp_target->outerIndexPtr()[mp_target->outerSize()] = count; in ~RandomSetter()
298 Index posStart = mp_target->outerIndexPtr()[outer]; in ~RandomSetter()
/external/eigen/Eigen/src/SparseCholesky/
DSimplicialCholesky_impl.h60 StorageIndex* Lp = m_matrix.outerIndexPtr(); in analyzePattern_preordered()
86 const StorageIndex* Lp = m_matrix.outerIndexPtr(); in factorize_preordered()
/external/eigen/Eigen/src/PardisoSupport/
DPardisoSupport.h271 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
292 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
312 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
359 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
/external/eigen/Eigen/src/UmfPackSupport/
DUmfPackSupport.h508 … mp_matrix.outerIndexPtr(), mp_matrix.innerIndexPtr(), mp_matrix.valuePtr(), in analyzePattern_impl()
521 …m_fact_errorCode = umfpack_numeric(mp_matrix.outerIndexPtr(), mp_matrix.innerIndexPtr(), mp_matrix… in factorize_impl()
591 umfpack_get_numeric(m_l.outerIndexPtr(), m_l.innerIndexPtr(), m_l.valuePtr(), in extractData()
592 m_u.outerIndexPtr(), m_u.innerIndexPtr(), m_u.valuePtr(), in extractData()
628 … mp_matrix.outerIndexPtr(), mp_matrix.innerIndexPtr(), mp_matrix.valuePtr(), in _solve_impl()
/external/eigen/Eigen/src/SuperLUSupport/
DSuperLUSupport.h215 res.storage.outerInd = mat.outerIndexPtr(); in Map()
274 res.storage.outerInd = mat.outerIndexPtr();
724 int* Lcol = m_l.outerIndexPtr();
728 int* Ucol = m_u.outerIndexPtr();
802 if (m_u.outerIndexPtr()[j+1]-m_u.outerIndexPtr()[j] > 0)
804 int lastId = m_u.outerIndexPtr()[j+1]-1;
/external/tensorflow/tensorflow/core/kernels/sparse/
Dsparse_cholesky_op.cc200 std::copy(cholesky_factor.outerIndexPtr(), in Compute()
201 cholesky_factor.outerIndexPtr() + num_rows + 1, in Compute()
Dsparse_mat_mul_op.cc233 std::copy(output_matrix.outerIndexPtr(), in Compute()
234 output_matrix.outerIndexPtr() + num_output_rows + 1, in Compute()
/external/eigen/Eigen/src/OrderingMethods/
DOrdering.h139 for(StorageIndex i=0; i <= n; i++) p(i) = mat.outerIndexPtr()[i]; in operator()
/external/eigen/doc/
DSparseQuickReference.dox248 sm1.outerIndexPtr(); // Pointer to the beginning of each inner vector
260 int outerIndexPtr[cols+1];
263 Map<SparseMatrix<double> > sm1(rows,cols,nnz,outerIndexPtr, // read-write
/external/eigen/Eigen/src/IterativeLinearSolvers/
DIncompleteCholesky.h214 Map<VectorIx> colPtr( m_L.outerIndexPtr(), n+1); // Pointer to the beginning of each row in factorize()
325 colPtr = Map<const VectorIx>(L_save.outerIndexPtr(), n+1); in factorize()
/external/eigen/Eigen/src/SparseQR/
DSparseQR.h393 const StorageIndex *originalOuterIndices = mat.outerIndexPtr();
396 originalOuterIndicesCpy = IndexVector::Map(m_pmat.outerIndexPtr(),n+1);
403 m_pmat.outerIndexPtr()[p] = originalOuterIndices[i];
/external/eigen/test/
Dsparse_basic.cpp429 …Map<SparseMatrixType> mapMat2(m2.rows(), m2.cols(), m2.nonZeros(), m2.outerIndexPtr(), m2.innerInd… in sparse_basic()
430 …Map<SparseMatrixType> mapMat3(m3.rows(), m3.cols(), m3.nonZeros(), m3.outerIndexPtr(), m3.innerInd… in sparse_basic()
435 …Options,StorageIndex> mapMat2(m2.rows(), m2.cols(), m2.nonZeros(), m2.outerIndexPtr(), m2.innerInd… in sparse_basic()
436 …Options,StorageIndex> mapMat3(m3.rows(), m3.cols(), m3.nonZeros(), m3.outerIndexPtr(), m3.innerInd… in sparse_basic()
446 …Map<SparseMatrixType> mapMat2(rows, cols, m2.nonZeros(), m2.outerIndexPtr(), m2.innerIndexPtr(), m… in sparse_basic()
Dsparse_solvers.cpp65 …MappedSparseMatrix<Scalar> mm2(rows, cols, cm2.nonZeros(), cm2.outerIndexPtr(), cm2.innerIndexPtr(… in sparse_solvers()

12