/external/eigen/unsupported/Eigen/src/SparseExtra/ |
H A 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(); }
|
H A D | DynamicSparseMatrix.h | 65 using Base::IsRowMajor; 73 typedef DynamicSparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0)> TransposedSparseMatrix; 80 inline Index rows() const { return IsRowMajor ? outerSize() : m_innerSize; } 81 inline Index cols() const { return IsRowMajor ? m_innerSize : outerSize(); } 94 const Index outer = IsRowMajor ? row : col; 95 const Index inner = IsRowMajor ? col : row; 105 const Index outer = IsRowMajor ? row : col; 106 const Index inner = IsRowMajor ? col : row; 152 return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor [all...] |
/external/eigen/Eigen/src/SparseCore/ |
H A D | SparseBlock.h | 22 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor }; enumerator in enum:Eigen::BlockImpl::__anon5431 24 enum { OuterSize = IsRowMajor ? BlockRows : BlockCols }; 35 inline Index row() const { return IsRowMajor ? m_outer : this->index(); } 36 inline Index col() const { return IsRowMajor ? this->index() : m_outer; } 47 inline Index row() const { return IsRowMajor ? m_outer : this->index(); } 48 inline Index col() const { return IsRowMajor ? this->index() : m_outer; } 58 : m_matrix(xpr), m_outerStart(IsRowMajor ? startRow : startCol), m_outerSize(IsRowMajor ? blockRows : blockCols) 63 return m_matrix.coeff(row + IsRowMajor 99 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor }; enumerator in enum:Eigen::BlockImpl::__anon5433 285 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor }; enumerator in enum:Eigen::BlockImpl::__anon5435 425 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor }; enumerator in enum:Eigen::BlockImpl::__anon5437 [all...] |
H A D | MappedSparseMatrix.h | 36 enum { IsRowMajor = Base::IsRowMajor }; enumerator in enum:Eigen::MappedSparseMatrix::__anon5430 49 inline Index rows() const { return IsRowMajor ? m_outerSize : m_innerSize; } 50 inline Index cols() const { return IsRowMajor ? m_innerSize : m_outerSize; } 70 const Index outer = IsRowMajor ? row : col; 71 const Index inner = IsRowMajor ? col : row; 89 const Index outer = IsRowMajor ? row : col; 90 const Index inner = IsRowMajor ? col : row; 109 : m_outerSize(IsRowMajor?rows:cols), m_innerSize(IsRowMajor [all...] |
H A D | SparseMatrix.h | 94 using Base::IsRowMajor; 102 typedef SparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0)> TransposedSparseMatrix; 119 inline Index rows() const { return IsRowMajor ? m_outerSize : m_innerSize; } 121 inline Index cols() const { return IsRowMajor ? m_innerSize : m_outerSize; } 175 const Index outer = IsRowMajor ? row : col; 176 const Index inner = IsRowMajor ? col : row; 193 const Index outer = IsRowMajor ? row : col; 194 const Index inner = IsRowMajor ? col : row; 376 return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor 940 enum { IsRowMajor = SparseMatrixType::IsRowMajor }; enumerator in enum:Eigen::internal::__anon5447 [all...] |
H A D | SparseCwiseBinaryOp.h | 145 EIGEN_STRONG_INLINE Index row() const { return Lhs::IsRowMajor ? m_lhsIter.row() : index(); } 146 EIGEN_STRONG_INLINE Index col() const { return Lhs::IsRowMajor ? index() : m_lhsIter.col(); } 223 enum { IsRowMajor = (int(Lhs::Flags)&RowMajorBit)==RowMajorBit }; enumerator in enum:Eigen::internal::sparse_cwise_binary_op_inner_iterator_selector::__anon5438 238 m_rhs.coeff(IsRowMajor?m_outer:m_lhsIter.index(),IsRowMajor?m_lhsIter.index():m_outer)); } 264 enum { IsRowMajor = (int(Rhs::Flags)&RowMajorBit)==RowMajorBit }; enumerator in enum:Eigen::internal::sparse_cwise_binary_op_inner_iterator_selector::__anon5439 278 { return m_functor(m_xpr.lhs().coeff(IsRowMajor?m_outer:m_rhsIter.index(),IsRowMajor?m_rhsIter.index():m_outer), m_rhsIter.value()); }
|
H A D | SparseMatrixBase.h | 91 IsRowMajor = Flags&RowMajorBit ? 1 : 0, enumerator in enum:Eigen::SparseMatrixBase::__anon5448 94 : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime), 401 typedef Block<Derived,IsRowMajor?1:Dynamic,IsRowMajor?Dynamic:1,true> InnerVectorReturnType; 402 typedef Block<const Derived,IsRowMajor?1:Dynamic,IsRowMajor?Dynamic:1,true> ConstInnerVectorReturnType;
|
/external/eigen/Eigen/src/Core/ |
H A D | CoreIterators.h | 32 enum { IsRowMajor = (Derived::Flags&RowMajorBit)==RowMajorBit }; enumerator in enum:Eigen::DenseBase::InnerIterator::__anon4986 40 return (IsRowMajor) ? m_expression.coeff(m_outer, m_inner) 47 inline Index row() const { return IsRowMajor ? m_outer : index(); } 48 inline Index col() const { return IsRowMajor ? index() : m_outer; }
|
H A D | Reverse.h | 77 using Base::IsRowMajor; 86 IsColMajor = !IsRowMajor, 90 OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1, 93 || ((Direction == Horizontal) && IsRowMajor)
|
H A D | Assign_MKL.h | 51 StorageOrdersAgree = (int(Dst::IsRowMajor) == int(Src::IsRowMajor)), 95 const Scalar *src_ptr = src.IsRowMajor ? &(src.nestedExpression().coeffRef(outer,0)) : 97 Scalar *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer));
|
H A D | DenseBase.h | 167 IsRowMajor = int(Flags) & RowMajorBit, /**< True if this expression has row-major storage order. */ enumerator in enum:Eigen::DenseBase::__anon4992 170 : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime), 199 : int(IsRowMajor) ? this->rows() : this->cols(); 210 : int(IsRowMajor) ? this->cols() : this->rows(); 511 EIGEN_STATIC_ASSERT((EIGEN_IMPLIES(MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1, int(IsRowMajor)) 512 && EIGEN_IMPLIES(MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1, int(!IsRowMajor))),
|
H A D | Block.h | 70 IsRowMajor = (IsDense&&MaxRowsAtCompileTime==1&&MaxColsAtCompileTime!=1) ? 1 enumerator in enum:Eigen::internal::traits::__anon4981 73 HasSameStorageOrderAsXprType = (IsRowMajor == XprTypeIsRowMajor), 74 InnerSize = IsRowMajor ? int(ColsAtCompileTime) : int(RowsAtCompileTime), 87 FlagsRowMajorBit = IsRowMajor ? RowMajorBit : 0,
|
H A D | Replicate.h | 53 IsRowMajor = MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1 ? 1 enumerator in enum:Eigen::internal::traits::__anon5159 56 Flags = (_MatrixTypeNested::Flags & HereditaryBits & ~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0),
|
H A D | DenseCoeffsBase.h | 611 return Derived::IsRowMajor ? outerStride() : innerStride(); 620 return Derived::IsRowMajor ? innerStride() : outerStride(); 682 return Derived::IsRowMajor ? outerStride() : innerStride(); 691 return Derived::IsRowMajor ? innerStride() : outerStride();
|
H A D | GeneralProduct.h | 260 template<typename T> struct IsRowMajor : internal::conditional<(int(T::Flags)&RowMajorBit), internal::true_type, internal::false_type>::type {}; struct in class:Eigen::GeneralProduct 284 internal::outer_product_selector_run(*this, dest, set(), IsRowMajor<Dest>()); 289 internal::outer_product_selector_run(*this, dest, add(), IsRowMajor<Dest>()); 294 internal::outer_product_selector_run(*this, dest, sub(), IsRowMajor<Dest>()); 299 internal::outer_product_selector_run(*this, dest, adds(alpha), IsRowMajor<Dest>());
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
H A D | SkylineMatrix.h | 58 using Base::IsRowMajor; 62 typedef SkylineMatrix<Scalar, (Flags&~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0) > TransposedSkylineMatrix; 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...] |
H A D | SkylineInplaceLU.h | 39 m_lu.IsRowMajor ? computeRowMajor() : compute(); 125 eigen_assert(!m_lu.IsRowMajor && "LU decomposition does not work with rowMajor Storage"); 189 eigen_assert(m_lu.IsRowMajor && "You're trying to apply rowMajor decomposition on a ColMajor matrix !");
|
H A D | SkylineMatrixBase.h | 75 IsRowMajor = Flags & RowMajorBit ? 1 : 0 enumerator in enum:Eigen::SkylineMatrixBase::__anon5569
|
/external/eigen/test/ |
H A D | sparse.h | 64 enum { IsRowMajor = SparseMatrix<Scalar,Opt2,Index>::IsRowMajor }; enumerator in enum:__anon5534 67 sparseMat.reserve(VectorXi::Constant(IsRowMajor ? refMat.rows() : refMat.cols(), int((1.5*density)*(IsRowMajor?refMat.cols():refMat.rows())))); 75 if(IsRowMajor) 116 enum { IsRowMajor = DynamicSparseMatrix<Scalar,Opt2,Index>::IsRowMajor }; enumerator in enum:__anon5535 125 if(IsRowMajor)
|
H A D | sparse_basic.cpp | 205 if(SparseMatrixType::IsRowMajor) 210 if(SparseMatrixType::IsRowMajor) 249 if(SparseMatrixType::IsRowMajor) 253 if(SparseMatrixType::IsRowMajor) 263 if(SparseMatrixType::IsRowMajor) 298 if(SparseMatrixType::IsRowMajor) 339 if(SparseMatrixType::IsRowMajor) 344 if(SparseMatrixType::IsRowMajor) 352 if(SparseMatrixType::IsRowMajor) { 398 if(SparseMatrixType::IsRowMajor) [all...] |
/external/eigen/Eigen/src/Core/products/ |
H A D | SelfadjointRank2Update.h | 76 enum { IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0 }; enumerator in enum:Eigen::__anon5253 79 if (IsRowMajor) 83 typename internal::remove_all<typename internal::conj_expr_if<IsRowMajor ^ UBlasTraits::NeedToConjugate,_ActualUType>::type>::type, 84 typename internal::remove_all<typename internal::conj_expr_if<IsRowMajor ^ VBlasTraits::NeedToConjugate,_ActualVType>::type>::type, 85 (IsRowMajor ? int(UpLo==Upper ? Lower : Upper) : UpLo)>
|
H A D | SelfadjointMatrixVector_MKL.h | 85 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, \ 91 char uplo=(IsRowMajor) ? (IsLower ? 'U' : 'L') : (IsLower ? 'L' : 'U'); \
|
H A D | SelfadjointMatrixVector.h | 50 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, enumerator in enum:Eigen::internal::__anon5247 52 FirstTriangular = IsRowMajor == IsLower 55 conj_helper<Scalar,Scalar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> cj0; 56 conj_helper<Scalar,Scalar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> cj1; 59 conj_helper<Packet,Packet,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> pcj0; 60 conj_helper<Packet,Packet,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> pcj1;
|
/external/eigen/Eigen/src/QR/ |
H A D | HouseholderQR_MKL.h | 56 lapack_int matrix_order = (MatrixQR::IsRowMajor) ? LAPACK_ROW_MAJOR : LAPACK_COL_MAJOR; \
|
/external/eigen/Eigen/src/plugins/ |
H A D | BlockMethods.h | 15 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr; 16 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ConstColXpr; 18 typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr; 19 typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowXpr; 21 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBlockXpr; 22 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockXpr; 24 typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlockXpr; 25 typedef const Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockXpr; 27 template<int N> struct NColsBlockXpr { typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; }; 28 template<int N> struct ConstNColsBlockXpr { typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Typ [all...] |