/external/eigen/Eigen/src/SparseCore/ |
D | SparseBlock.h | 23 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor }; enumerator 25 enum { OuterSize = IsRowMajor ? BlockRows : BlockCols }; 36 …matrix(xpr), m_outerStart(convert_index(IsRowMajor ? startRow : startCol)), m_outerSize(convert_in… in BlockImpl() 39 …EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows()… in rows() 40 …EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value()… in cols() 56 …return m_matrix.coeff(row + (IsRowMajor ? m_outerStart : 0), col + (IsRowMajor ? 0 : m_outerStart… in coeff() 61 return m_matrix.coeff(IsRowMajor ? m_outerStart : index, IsRowMajor ? index : m_outerStart); in coeff() 66 Index startRow() const { return IsRowMajor ? m_outerStart : 0; } in startRow() 67 Index startCol() const { return IsRowMajor ? 0 : m_outerStart; } in startCol() 68 Index blockRows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows(); } in blockRows() [all …]
|
D | SparseMap.h | 57 enum { IsRowMajor = Base::IsRowMajor }; 79 inline Index rows() const { return IsRowMajor ? m_outerSize : m_innerSize; } 81 inline Index cols() const { return IsRowMajor ? m_innerSize : m_outerSize; } 107 const Index outer = IsRowMajor ? row : col; 108 const Index inner = IsRowMajor ? col : row; 126 …: m_outerSize(IsRowMajor?rows:cols), m_innerSize(IsRowMajor?cols:rows), m_zero_nnz(0,internal::con… 157 enum { IsRowMajor = Base::IsRowMajor }; 182 const Index outer = IsRowMajor ? row : col; 183 const Index inner = IsRowMajor ? col : row; 233 enum { IsRowMajor = Base::IsRowMajor }; [all …]
|
D | SparseMatrix.h | 116 using Base::IsRowMajor; 125 …typedef SparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0)> TransposedSparseMatri… 136 inline Index rows() const { return IsRowMajor ? m_outerSize : m_innerSize; } 138 inline Index cols() const { return IsRowMajor ? m_innerSize : m_outerSize; } 192 const Index outer = IsRowMajor ? row : col; 193 const Index inner = IsRowMajor ? col : row; 210 const Index outer = IsRowMajor ? row : col; 211 const Index inner = IsRowMajor ? col : row; 385 return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor?col:row); 459 return insert(IsRowMajor ? j : i, IsRowMajor ? i : j); [all …]
|
D | SparseCwiseBinaryOp.h | 114 EIGEN_STRONG_INLINE Index row() const { return Lhs::IsRowMajor ? m_lhsIter.row() : index(); } 115 EIGEN_STRONG_INLINE Index col() const { return Lhs::IsRowMajor ? index() : m_lhsIter.col(); } 166 enum { IsRowMajor = (int(Rhs::Flags)&RowMajorBit)==RowMajorBit }; 180 Scalar lhsVal = m_lhsEval.coeff(IsRowMajor?m_rhsIter.outer():m_id, 181 IsRowMajor?m_id:m_rhsIter.outer()); 198 EIGEN_STRONG_INLINE Index row() const { return IsRowMajor ? m_rhsIter.outer() : m_id; } 199 EIGEN_STRONG_INLINE Index col() const { return IsRowMajor ? m_id : m_rhsIter.outer(); } 254 enum { IsRowMajor = (int(Lhs::Flags)&RowMajorBit)==RowMajorBit }; 268 Scalar rhsVal = m_rhsEval.coeff(IsRowMajor?m_lhsIter.outer():m_id, 269 IsRowMajor?m_id:m_lhsIter.outer()); [all …]
|
D | SparseCompressedBase.h | 43 using Base::IsRowMajor; 194 inline Index row() const { return IsRowMajor ? m_outer.value() : index(); } 195 inline Index col() const { return IsRowMajor ? index() : m_outer.value(); } 254 inline Index row() const { return IsRowMajor ? m_outer.value() : index(); } 255 inline Index col() const { return IsRowMajor ? index() : m_outer.value(); } 322 const Index outer = Derived::IsRowMajor ? row : col; 323 const Index inner = Derived::IsRowMajor ? col : row;
|
D | SparseView.h | 143 enum { IsRowMajor = (XprType::Flags&RowMajorBit)==RowMajorBit }; 167 return (IsRowMajor) ? m_sve.m_argImpl.coeff(m_outer, m_inner) 172 inline Index row() const { return IsRowMajor ? m_outer : index(); } 173 inline Index col() const { return IsRowMajor ? index() : m_outer; }
|
D | SparseFuzzy.h | 20 typename internal::conditional<bool(IsRowMajor)==bool(OtherDerived::IsRowMajor), in isApprox()
|
D | SparseMatrixBase.h | 95 IsRowMajor = Flags&RowMajorBit ? 1 : 0, enumerator 98 : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime), 354 … typedef Block<Derived,IsRowMajor?1:Dynamic,IsRowMajor?Dynamic:1,true> InnerVectorReturnType; 355 …typedef Block<const Derived,IsRowMajor?1:Dynamic,IsRowMajor?Dynamic:1,true> ConstInnerVectorReturn…
|
D | SparseDiagonalProduct.h | 98 …typedef typename nested_eval<DiagCoeffType,SparseXprType::IsRowMajor ? SparseXprType::RowsAtCompil… 112 …inline Index col() const { return SparseXprType::IsRowMajor ? m_sparseIter.index() : m_sparseIt… 113 …inline Index row() const { return SparseXprType::IsRowMajor ? m_sparseIter.outer() : m_sparseIt…
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
D | DynamicSparseMatrix.h | 67 using Base::IsRowMajor; 75 …typedef DynamicSparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0), StorageIndex> … 82 inline Index rows() const { return IsRowMajor ? outerSize() : m_innerSize; } 83 inline Index cols() const { return IsRowMajor ? m_innerSize : outerSize(); } 96 const Index outer = IsRowMajor ? row : col; 97 const Index inner = IsRowMajor ? col : row; 107 const Index outer = IsRowMajor ? row : col; 108 const Index inner = IsRowMajor ? col : row; 154 return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor?col:row); 169 const Index outer = IsRowMajor ? row : col; [all …]
|
D | BlockOfDynamicSparseMatrix.h | 32 enum { IsRowMajor = internal::traits<SparseInnerVectorSet>::IsRowMajor }; 41 inline Index row() const { return IsRowMajor ? m_outer : this->index(); } 42 inline Index col() const { return IsRowMajor ? this->index() : m_outer; } 63 if (IsRowMajor != ((OtherDerived::Flags&RowMajorBit)==RowMajorBit)) 66 DynamicSparseMatrix<Scalar,IsRowMajor?RowMajorBit:0> aux(other); 74 SparseVector<Scalar,IsRowMajor ? RowMajorBit : 0> aux(other.innerVector(j)); 107 …EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows()… 108 …EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value()…
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
D | SkylineMatrix.h | 58 using Base::IsRowMajor; 62 …typedef SkylineMatrix<Scalar, (Flags&~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0) > TransposedSk… 75 return IsRowMajor ? m_outerSize : m_innerSize; 79 return IsRowMajor ? m_innerSize : m_outerSize; 147 const Index outer = IsRowMajor ? row : col; 148 const Index inner = IsRowMajor ? col : row; 156 if (IsRowMajor) { 196 const Index outer = IsRowMajor ? row : col; 197 const Index inner = IsRowMajor ? col : row; 205 if (IsRowMajor) { [all …]
|
/external/eigen/test/ |
D | sparse.h | 64 enum { IsRowMajor = SparseMatrix<Scalar,Opt2,StorageIndex>::IsRowMajor }; enumerator 67 …sparseMat.reserve(VectorXi::Constant(IsRowMajor ? refMat.rows() : refMat.cols(), int((1.5*density)… 75 if(IsRowMajor) 119 enum { IsRowMajor = DynamicSparseMatrix<Scalar,Opt2,Index>::IsRowMajor }; enumerator 128 if(IsRowMajor)
|
D | sparse_block.cpp | 37 typedef Matrix<Scalar,Dynamic,Dynamic,SparseMatrixType::IsRowMajor?RowMajor:ColMajor> DenseMatrix; in sparse_block() 193 if(SparseMatrixType::IsRowMajor) in sparse_block() 197 if(SparseMatrixType::IsRowMajor) in sparse_block() 209 if(SparseMatrixType::IsRowMajor) in sparse_block() 225 if(SparseMatrixType::IsRowMajor) in sparse_block() 230 if(SparseMatrixType::IsRowMajor) in sparse_block() 238 if(SparseMatrixType::IsRowMajor) { in sparse_block() 272 if(SparseMatrixType::IsRowMajor) in sparse_block()
|
/external/eigen/Eigen/src/Core/products/ |
D | SelfadjointRank2Update.h | 76 enum { IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0 }; 79 if (IsRowMajor) 82 …typedef typename internal::remove_all<typename internal::conj_expr_if<IsRowMajor ^ UBlasTraits::Ne… 83 …typedef typename internal::remove_all<typename internal::conj_expr_if<IsRowMajor ^ VBlasTraits::Ne… 85 (IsRowMajor ? int(UpLo==Upper ? Lower : Upper) : UpLo)>
|
D | SelfadjointMatrixVector.h | 51 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, in run() enumerator 53 FirstTriangular = IsRowMajor == IsLower in run() 56 …calar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> … in run() 57 …calar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> … in run() 60 …acket,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> … in run() 61 …acket,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> … in run()
|
D | SelfadjointProduct.h | 96 IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0, 103 typedef internal::gemm_blocking_space<IsRowMajor ? RowMajor : ColMajor,Scalar,Scalar, 112 IsRowMajor ? RowMajor : ColMajor, UpLo>
|
D | SelfadjointMatrixVector_BLAS.h | 85 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, \ 91 char uplo=(IsRowMajor) ? (IsLower ? 'U' : 'L') : (IsLower ? 'L' : 'U'); \
|
/external/eigen/Eigen/src/Core/ |
D | CoreIterators.h | 79 enum { IsRowMajor = (XprType::Flags&RowMajorBit)==RowMajorBit }; enumerator 88 return (IsRowMajor) ? m_eval.coeff(m_outer, m_inner) in value() 95 inline Index row() const { return IsRowMajor ? m_outer : index(); } in row() 96 inline Index col() const { return IsRowMajor ? index() : m_outer; } in col()
|
D | Assign_MKL.h | 48 StorageOrdersAgree = (int(Dst::IsRowMajor) == int(Src::IsRowMajor)), 95 …const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.nestedExpression().coeffRef(outer,0)) : … 97 …EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); … 157 …const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.lhs().coeffRef(outer,0)) : … 159 …EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); …
|
D | Reverse.h | 71 using Base::IsRowMajor; 76 IsColMajor = !IsRowMajor, 80 OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1, 83 || ((Direction == Horizontal) && IsRowMajor)
|
D | Redux.h | 33 InnerMaxSize = int(Derived::IsRowMajor) 350 IsRowMajor = XprType::IsRowMajor, 381 { return m_evaluator.coeff(IsRowMajor ? outer : inner, IsRowMajor ? inner : outer); } 385 …{ return m_evaluator.template packet<LoadMode,PacketType>(IsRowMajor ? outer : inner, IsRowMajor ?…
|
D | CoreEvaluators.h | 135 IsRowMajor = PlainObjectType::IsRowMajor, 148 : int(IsRowMajor) ? ColsAtCompileTime 163 if (IsRowMajor) 178 if (IsRowMajor) 194 if (IsRowMajor) 211 if (IsRowMajor) 231 : int(IsRowMajor) ? ColsAtCompileTime 816 IsRowMajor = XprType::RowsAtCompileTime, 886 …inline Index rowStride() const { return XprType::IsRowMajor ? m_outerStride.value() : m_innerStrid… 888 …inline Index colStride() const { return XprType::IsRowMajor ? m_innerStride.value() : m_outerStrid… [all …]
|
D | DenseBase.h | 165 …IsRowMajor = int(Flags) & RowMajorBit, /**< True if this expression has row-major storage order. */ enumerator 168 : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime), 221 : int(IsRowMajor) ? this->rows() : this->cols(); in outerSize() 233 : int(IsRowMajor) ? this->cols() : this->rows(); in innerSize() 597 …N_STATIC_ASSERT((EIGEN_IMPLIES(MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1, int(IsRowMajor)) in DenseBase() 598 … && EIGEN_IMPLIES(MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1, int(!IsRowMajor))), in DenseBase()
|
/external/eigen/Eigen/src/plugins/ |
D | BlockMethods.h | 14 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr; 15 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> Co… 17 typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr; 18 typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> Con… 20 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBloc… 21 …const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockX… 23 typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlock… 24 …<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockX… 26 …Xpr { typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; }; 27 …f const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; }; [all …]
|