/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...] |
SkylineMatrix.h | 64 Index m_outerSize; 65 Index m_innerSize; 68 Index* m_colStartIndex; 69 Index* m_rowStartIndex; 74 inline Index rows() const { 78 inline Index cols() const { 82 inline Index innerSize() const { 86 inline Index outerSize() const { 90 inline Index upperNonZeros() const { 94 inline Index lowerNonZeros() const [all...] |
/external/eigen/Eigen/src/SparseCore/ |
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...] |
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; } 59 inline const Index* innerIndexPtr() const { return m_innerIndices; 132 inline Index index() const { return m_matrix.innerIndexPtr()[m_id]; } function in class:Eigen::MappedSparseMatrix::InnerIterator 163 inline Index index() const { return m_matrix.innerIndexPtr()[m_id-1]; } function in class:Eigen::MappedSparseMatrix::ReverseInnerIterator [all...] |
SparseBlock.h | 20 typedef typename traits<MatrixType>::Index Index; 47 inline InnerIterator(const SparseInnerVectorSet& xpr, Index outer) 50 inline Index row() const { return IsRowMajor ? m_outer : this->index(); } 51 inline Index col() const { return IsRowMajor ? this->index() : m_outer; } 53 Index m_outer; 58 inline ReverseInnerIterator(const SparseInnerVectorSet& xpr, Index outer) 61 inline Index row() const { return IsRowMajor ? m_outer : this->index(); [all...] |
SparseVector.h | 33 typedef _Index Index; 69 internal::CompressedStorage<Scalar,Index> m_data; 70 Index m_size; 72 internal::CompressedStorage<Scalar,Index>& _data() { return m_data; } 73 internal::CompressedStorage<Scalar,Index>& _data() const { return m_data; } 77 EIGEN_STRONG_INLINE Index rows() const { return IsColVector ? m_size : 1; } 78 EIGEN_STRONG_INLINE Index cols() const { return IsColVector ? 1 : m_size; } 79 EIGEN_STRONG_INLINE Index innerSize() const { return m_size; } 80 EIGEN_STRONG_INLINE Index outerSize() const { return 1; } 85 EIGEN_STRONG_INLINE const Index* innerIndexPtr() const { return &m_data.index(0); 352 inline Index index() const { return m_data.index(m_id); } function in class:Eigen::SparseVector::InnerIterator 384 inline Index index() const { return m_data.index(m_id-1); } function in class:Eigen::SparseVector::ReverseInnerIterator [all...] |
SparseMatrix.h | 22 * Each colmun's (resp. row) non zeros are stored as a pair of value with associated row (resp. colmiun) index. 46 typedef _Index Index; 69 typedef _Index Index; 95 typedef internal::CompressedStorage<Scalar,Index> Storage; 104 Index m_outerSize; 105 Index m_innerSize; 106 Index* m_outerIndex; 107 Index* m_innerNonZeros; // optional, if null then the data is compressed 110 Eigen::Map<Matrix<Index,Dynamic,1> > innerNonZeros() { return Eigen::Map<Matrix<Index,Dynamic,1> >(m_innerNonZeros, m_innerNonZeros?m_outerSize:0); 950 inline Index index() const { return m_indices[m_id]; } function in class:Eigen::SparseMatrix::InnerIterator 983 inline Index index() const { return m_indices[m_id-1]; } function in class:Eigen::SparseMatrix::ReverseInnerIterator [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...] |
RandomSetter.h | 157 typedef typename SparseMatrixType::Index Index; 184 const Index outerSize = SwapStorage ? target.innerSize() : target.outerSize(); 185 const Index innerSize = SwapStorage ? target.outerSize() : target.innerSize(); 191 Index aux = innerSize - 1; 199 for (Index k=0; k<m_outerPackets; ++k) 203 for (Index j=0; j<mp_target->outerSize(); ++j) 205 (*this)(TargetRowMajor?j:it.index(), TargetRowMajor?it.index():j) = it.value(); 217 Index prevOuter = -1 [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...] |
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...] |
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...] |
GeneralMatrixMatrixTriangular_MKL.h | 40 template <typename Index, typename Scalar, int AStorageOrder, bool ConjugateA, int ResStorageOrder, int UpLo> 43 Index,Scalar,AStorageOrder,ConjugateA,Scalar,AStorageOrder,ConjugateA,ResStorageOrder,UpLo,BuiltIn> {}; 48 template <typename Index, int LhsStorageOrder, bool ConjugateLhs, \ 50 struct general_matrix_matrix_triangular_product<Index,Scalar,LhsStorageOrder,ConjugateLhs, \ 52 static EIGEN_STRONG_INLINE void run(Index size, Index depth,const Scalar* lhs, Index lhsStride, \ 53 const Scalar* rhs, Index rhsStride, Scalar* res, Index resStride, Scalar alpha) \ 56 general_matrix_matrix_rankupdate<Index,Scalar,LhsStorageOrder,ConjugateLhs,ColMajor,UpLo> [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...] |
/external/eigen/Eigen/src/Core/ |
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...] |
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...] |
DenseCoeffsBase.h | 38 typedef typename internal::traits<Derived>::Index Index; 64 EIGEN_STRONG_INLINE Index rowIndexByOuterInner(Index outer, Index inner) const 72 EIGEN_STRONG_INLINE Index colIndexByOuterInner(Index outer, Index inner) const 81 * \link operator()(Index,Index) const \endlink instead [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 row, Index col) const 66 inline Scalar& coeffRef(Index row, Index col) 71 inline const Scalar& coeffRef(Index row, Index col) cons [all...] |
ForceAlignedAccess.h | 44 inline Index rows() const { return m_expression.rows(); } 45 inline Index cols() const { return m_expression.cols(); } 46 inline Index outerStride() const { return m_expression.outerStride(); } 47 inline Index innerStride() const { return m_expression.innerStride(); } 49 inline const CoeffReturnType coeff(Index row, Index col) const 54 inline Scalar& coeffRef(Index row, Index col) 59 inline const CoeffReturnType coeff(Index index) cons [all...] |
Random.h | 19 template<typename Index> 20 inline const Scalar operator() (Index, Index = 0) const { return random<Scalar>(); } 45 * \sa MatrixBase::setRandom(), MatrixBase::Random(Index), MatrixBase::Random() 49 DenseBase<Derived>::Random(Index rows, Index cols) 72 * \sa MatrixBase::setRandom(), MatrixBase::Random(Index,Index), MatrixBase::Random() 76 DenseBase<Derived>::Random(Index size) 93 * \sa MatrixBase::setRandom(), MatrixBase::Random(Index,Index), MatrixBase::Random(Index [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430MachineFunctionInfo.h | 46 void setRAIndex(int Index) { ReturnAddrIndex = Index; } 49 void setVarArgsFrameIndex(int Index) { VarArgsFrameIndex = Index; }
|
/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/clang/lib/Sema/ |
TypeLocBuilder.cpp | 50 unsigned NewIndex = Index + NewCapacity - Capacity; 52 &Buffer[Index], 53 Capacity - Index); 60 Index = NewIndex; 74 if (LocalSize > Index) { 75 size_t RequiredCapacity = Capacity + (LocalSize - Index); 100 memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4); 101 Index -= 4; 111 memmove(&Buffer[Index + 4], &Buffer[Index], NumBytesAtAlign4) [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_index.py | 7 index = Index.create() 9 # FIXME: test Index.read 12 index = Index.create() 13 assert isinstance(index, Index) 14 tu = index.parse(os.path.join(kInputsDir, 'hello.cpp'))
|