/external/eigen/Eigen/src/SparseLU/ |
SparseLUImpl.h | 19 template <typename Scalar, typename Index> 24 typedef Matrix<Index,Dynamic,1> IndexVector; 27 typedef Ref<Matrix<Index,Dynamic,1> > BlockIndexVector; 29 typedef SparseMatrix<Scalar,ColMajor,Index> MatrixType; 33 Index expand(VectorType& vec, Index& length, Index nbElts, Index keep_prev, Index& num_expansions); 34 Index memInit(Index m, Index n, Index annz, Index lwork, Index fillratio, Index panel_size, GlobalLU_t& (…) [all...] |
SparseLU_Structs.h | 78 typedef typename IndexVector::Scalar Index; 85 Index nzlmax; // Current max size of lsub 86 Index nzlumax; // Current max size of lusup 90 Index nzumax; // Current max size of ucol 91 Index n; // Number of columns in the matrix 92 Index num_expansions; 96 template <typename Index> 98 Index panel_size; // a panel consists of at most <panel_size> consecutive columns 99 Index relax; // To control degree of relaxing supernodes. If the number of nodes (columns) 102 Index maxsuper; // The maximum size for a supernode in complete L [all...] |
SparseLU_Memory.h | 39 template<typename Index> 40 inline Index LUnumTempV(Index& m, Index& w, Index& t, Index& b) 45 template< typename Scalar, typename Index> 46 inline Index LUTempSpace(Index&m, Index& w [all...] |
SparseLU_SupernodalMatrix.h | 37 typedef _Index Index; 38 typedef Matrix<Index,Dynamic,1> IndexVector; 45 MappedSuperNodalMatrix(Index m, Index n, ScalarVector& nzval, IndexVector& nzval_colptr, IndexVector& rowind, 61 void setInfos(Index m, Index n, ScalarVector& nzval, IndexVector& nzval_colptr, IndexVector& rowind, 78 Index rows() { return m_row; } 83 Index cols() { return m_col; } 99 Index* colIndexPtr() 104 const Index* colIndexPtr() cons 205 inline Index index() const { return m_matrix.rowIndex()[m_idrow]; } function in class:Eigen::internal::MappedSuperNodalMatrix::InnerIterator [all...] |
SparseLU_column_dfs.h | 33 template <typename Scalar, typename Index> class SparseLUImpl; 42 typedef typename IndexVector::Scalar Index; 43 column_dfs_traits(Index jcol, Index& jsuper, typename SparseLUImpl<Scalar, Index>::GlobalLU_t& glu, SparseLUImpl<Scalar, Index>& luImpl) 46 bool update_segrep(Index /*krep*/, Index /*jj*/) 50 void mem_expand(IndexVector& lsub, Index& nextl, Index chmark [all...] |
SparseLU_Utils.h | 20 template <typename Scalar, typename Index> 21 void SparseLUImpl<Scalar,Index>::countnz(const Index n, Index& nnzL, Index& nnzU, GlobalLU_t& glu) 25 Index nsuper = (glu.supno)(n); 26 Index jlen; 27 Index i, j, fsupc; 51 template <typename Scalar, typename Index> 52 void SparseLUImpl<Scalar,Index>::fixupL(const Index n, const IndexVector& perm_r, GlobalLU_t& glu [all...] |
/external/eigen/unsupported/Eigen/src/Skyline/ |
SkylineStorage.h | 24 typedef SparseIndex Index; 61 memcpy(m_upperProfile, other.m_upperProfile, m_upperProfileSize * sizeof (Index)); 62 memcpy(m_lowerProfile, other.m_lowerProfile, m_lowerProfileSize * sizeof (Index)); 87 void reserve(Index size, Index upperProfileSize, Index lowerProfileSize, Index upperSize, Index lowerSize) { 88 Index newAllocatedSize = size + upperSize + lowerSize; 98 void resize(Index diagSize, Index upperProfileSize, Index lowerProfileSize, Index upperSize, Index lowerSize, float (…) [all...] |
/external/eigen/Eigen/src/Core/ |
CoreIterators.h | 30 typedef typename Derived::Index Index; 34 EIGEN_STRONG_INLINE InnerIterator(const Derived& expr, Index outer) 46 EIGEN_STRONG_INLINE Index index() const { return m_inner; } function in class:Eigen::DenseBase::InnerIterator 47 inline Index row() const { return IsRowMajor ? m_outer : index(); } 48 inline Index col() const { return IsRowMajor ? index() : m_outer; } 54 Index m_inner [all...] |
NestByValue.h | 45 inline Index rows() const { return m_expression.rows(); } 46 inline Index cols() const { return m_expression.cols(); } 47 inline Index outerStride() const { return m_expression.outerStride(); } 48 inline Index innerStride() const { return m_expression.innerStride(); } 50 inline const CoeffReturnType coeff(Index row, Index col) const 55 inline Scalar& coeffRef(Index row, Index col) 60 inline const CoeffReturnType coeff(Index index) cons [all...] |
ArrayWrapper.h | 53 inline Index rows() const { return m_expression.rows(); } 54 inline Index cols() const { return m_expression.cols(); } 55 inline Index outerStride() const { return m_expression.outerStride(); } 56 inline Index innerStride() const { return m_expression.innerStride(); } 61 inline CoeffReturnType coeff(Index rowId, Index colId) const 66 inline Scalar& coeffRef(Index rowId, Index colId) 71 inline const Scalar& coeffRef(Index rowId, Index colId) cons [all...] |
Stride.h | 47 typedef DenseIndex Index; 61 Stride(Index outerStride, Index innerStride) 73 inline Index outer() const { return m_outer.value(); } 75 inline Index inner() const { return m_inner.value(); } 78 internal::variable_if_dynamic<Index, OuterStrideAtCompileTime> m_outer; 79 internal::variable_if_dynamic<Index, InnerStrideAtCompileTime> m_inner; 89 typedef DenseIndex Index; 91 InnerStride(Index v) : Base(0, v) {} 101 typedef DenseIndex Index; [all...] |
Flagged.h | 53 inline Index rows() const { return m_matrix.rows(); } 54 inline Index cols() const { return m_matrix.cols(); } 55 inline Index outerStride() const { return m_matrix.outerStride(); } 56 inline Index innerStride() const { return m_matrix.innerStride(); } 58 inline CoeffReturnType coeff(Index row, Index col) const 63 inline CoeffReturnType coeff(Index index) const 65 return m_matrix.coeff(index); 68 inline const Scalar& coeffRef(Index row, Index col) cons [all...] |
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
DynamicSparseMatrix.h | 40 typedef _Index Index; 75 Index m_innerSize; 76 std::vector<internal::CompressedStorage<Scalar,Index> > m_data; 80 inline Index rows() const { return IsRowMajor ? outerSize() : m_innerSize; } 81 inline Index cols() const { return IsRowMajor ? m_innerSize : outerSize(); } 82 inline Index innerSize() const { return m_innerSize; } 83 inline Index outerSize() const { return static_cast<Index>(m_data.size()); } 84 inline Index innerNonZeros(Index j) const { return m_data[j].size(); [all...] |
/external/eigen/blas/ |
GeneralRank1Update.h | 16 template<typename Scalar, typename Index, int StorageOrder, bool ConjLhs, bool ConjRhs> 19 template<typename Scalar, typename Index, bool ConjLhs, bool ConjRhs> 20 struct general_rank1_update<Scalar,Index,ColMajor,ConjLhs,ConjRhs> 22 static void run(Index rows, Index cols, Scalar* mat, Index stride, const Scalar* u, const Scalar* v, Scalar alpha) 28 for (Index i=0; i<cols; ++i) 33 template<typename Scalar, typename Index, bool ConjLhs, bool ConjRhs> 34 struct general_rank1_update<Scalar,Index,RowMajor,ConjLhs,ConjRhs> 36 static void run(Index rows, Index cols, Scalar* mat, Index stride, const Scalar* u, const Scalar* v, Scalar alpha [all...] |
/external/eigen/Eigen/src/SparseCore/ |
MappedSparseMatrix.h | 40 Index m_outerSize; 41 Index m_innerSize; 42 Index m_nnz; 43 Index* m_outerIndex; 44 Index* m_innerIndices; 49 inline Index rows() const { return IsRowMajor ? m_outerSize : m_innerSize; } 50 inline Index cols() const { return IsRowMajor ? m_innerSize : m_outerSize; } 51 inline Index innerSize() const { return m_innerSize; } 52 inline Index outerSize() const { return m_outerSize; } 61 inline const Index* innerIndexPtr() const { return m_innerIndices; 134 inline Index index() const { return m_matrix.innerIndexPtr()[m_id]; } function in class:Eigen::MappedSparseMatrix::InnerIterator 165 inline Index index() const { return m_matrix.innerIndexPtr()[m_id-1]; } function in class:Eigen::MappedSparseMatrix::ReverseInnerIterator [all...] |
SparseTranspose.h | 26 inline Index nonZeros() const { return derived().nestedExpression().nonZeros(); } 29 // NOTE: VC10 and VC11 trigger an ICE if don't put typename TransposeImpl<MatrixType,Sparse>:: in front of Index, 30 // a typedef typename TransposeImpl<MatrixType,Sparse>::Index Index; 37 typedef typename TransposeImpl::Index Index; 40 EIGEN_STRONG_INLINE InnerIterator(const TransposeImpl& trans, typename TransposeImpl<MatrixType,Sparse>::Index outer) 43 typename TransposeImpl<MatrixType,Sparse>::Index row() const { return Base::col(); } 44 typename TransposeImpl<MatrixType,Sparse>::Index col() const { return Base::row(); } 51 typedef typename TransposeImpl::Index Index [all...] |
/external/eigen/Eigen/src/Core/products/ |
Parallelizer.h | 74 template<typename Index> struct GemmParallelInfo 81 Index rhs_start; 82 Index rhs_length; 85 template<bool Condition, typename Functor, typename Index> 86 void parallelize_gemm(const Functor& func, Index rows, Index cols, bool transpose) 110 Index size = transpose ? cols : rows; 114 Index max_threads = std::max<Index>(1,size / 32); 117 Index threads = std::min<Index>(nbThreads(), max_threads) [all...] |
SelfadjointMatrixMatrix.h | 18 template<typename Scalar, typename Index, int Pack1, int Pack2, int StorageOrder> 22 void pack(Scalar* blockA, const const_blas_data_mapper<Scalar,Index,StorageOrder>& lhs, Index cols, Index i, Index& count) 25 for(Index k=0; k<i; k++) 26 for(Index w=0; w<BlockRows; w++) 29 Index h = 0; 30 for(Index k=i; k<i+BlockRows; k++) 32 for(Index w=0; w<h; w++ [all...] |
TriangularMatrixMatrix.h | 44 template <typename Scalar, typename Index, 51 template <typename Scalar, typename Index, 55 struct product_triangular_matrix_matrix<Scalar,Index,Mode,LhsIsTriangular, 60 Index rows, Index cols, Index depth, 61 const Scalar* lhs, Index lhsStride, 62 const Scalar* rhs, Index rhsStride, 63 Scalar* res, Index resStride, 66 product_triangular_matrix_matrix<Scalar, Index, [all...] |
GeneralMatrixVector_MKL.h | 49 template<typename Index, typename LhsScalar, int LhsStorageOrder, bool ConjugateLhs, typename RhsScalar, bool ConjugateRhs> 51 general_matrix_vector_product<Index,LhsScalar,LhsStorageOrder,ConjugateLhs,RhsScalar,ConjugateRhs,BuiltIn> {}; 54 template<typename Index, bool ConjugateLhs, bool ConjugateRhs> \ 55 struct general_matrix_vector_product<Index,Scalar,ColMajor,ConjugateLhs,Scalar,ConjugateRhs,Specialized> { \ 57 Index rows, Index cols, \ 58 const Scalar* lhs, Index lhsStride, \ 59 const Scalar* rhs, Index rhsIncr, \ 60 Scalar* res, Index resIncr, Scalar alpha) \ 63 general_matrix_vector_product<Index,Scalar,ColMajor,ConjugateLhs,Scalar,ConjugateRhs,BuiltIn>::run( [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430MachineFunctionInfo.h | 46 void setRAIndex(int Index) { ReturnAddrIndex = Index; } 49 void setVarArgsFrameIndex(int Index) { VarArgsFrameIndex = Index; }
|
/external/eigen/Eigen/src/OrderingMethods/ |
Eigen_Colamd.h | 138 template <typename Index> 141 Index start ; /* index for A of first row in this column, or DEAD */ 143 Index length ; /* number of rows in this column */ 146 Index thickness ; /* number of original columns represented by this */ 148 Index parent ; /* parent in parent tree super-column structure, if */ 153 Index score ; /* the score used to maintain heap, if col is alive */ 154 Index order ; /* pivot ordering of this column, if col is dead */ 158 Index headhash ; /* head of a hash bucket, if col is at the head of */ 160 Index hash ; /* hash value, if col is not in a degree list * [all...] |
Ordering.h | 47 * \tparam Index The type of indices of the matrix 50 template <typename Index> 54 typedef PermutationMatrix<Dynamic, Dynamic, Index> PermutationType; 63 SparseMatrix<typename MatrixType::Scalar, ColMajor, Index> symm; 75 SparseMatrix<typename SrcType::Scalar, ColMajor, Index> C; C = mat; 91 * \tparam Index The type of indices of the matrix 93 template <typename Index> 97 typedef PermutationMatrix<Dynamic, Dynamic, Index> PermutationType; 114 template<typename Index> 118 typedef PermutationMatrix<Dynamic, Dynamic, Index> PermutationType; [all...] |
/external/eigen/test/ |
bandmatrix.cpp | 14 typedef typename MatrixType::Index Index; 19 Index rows = _m.rows(); 20 Index cols = _m.cols(); 21 Index supers = _m.supers(); 22 Index subs = _m.subs(); 49 Index d = (std::min)(rows,cols); 50 Index a = std::max<Index>(0,cols-d-supers); 51 Index b = std::max<Index>(0,rows-d-subs) [all...] |
/external/eigen/Eigen/src/plugins/ |
BlockMethods.h | 54 * \sa class Block, block(Index,Index) 56 inline Block<Derived> block(Index startRow, Index startCol, Index blockRows, Index blockCols) 61 /** This is the const version of block(Index,Index,Index,Index). * [all...] |