Searched refs:IsRowMajor (Results 1 - 25 of 34) sorted by relevance

12

/external/eigen/unsupported/Eigen/src/SparseExtra/
H A DBlockOfDynamicSparseMatrix.h32 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 DDynamicSparseMatrix.h65 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 DSparseBlock.h22 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor }; enumerator in enum:Eigen::BlockImpl::__anon20960
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)
61 EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor
86 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor }; enumerator in enum:Eigen::BlockImpl::__anon20962
298 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor }; enumerator in enum:Eigen::BlockImpl::__anon20964
[all...]
H A DMappedSparseMatrix.h36 enum { IsRowMajor = Base::IsRowMajor }; enumerator in enum:Eigen::MappedSparseMatrix::__anon20959
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 DSparseMatrix.h94 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::__anon20974
[all...]
H A DSparseCwiseBinaryOp.h145 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::__anon20965
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::__anon20966
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 DSparseMatrixBase.h91 IsRowMajor = Flags&RowMajorBit ? 1 : 0, enumerator in enum:Eigen::SparseMatrixBase::__anon20975
94 : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime),
400 typedef Block<Derived,IsRowMajor?1:Dynamic,IsRowMajor?Dynamic:1,true> InnerVectorReturnType;
401 typedef Block<const Derived,IsRowMajor?1:Dynamic,IsRowMajor?Dynamic:1,true> ConstInnerVectorReturnType;
/external/eigen/Eigen/src/Core/
H A DCoreIterators.h32 enum { IsRowMajor = (Derived::Flags&RowMajorBit)==RowMajorBit }; enumerator in enum:Eigen::DenseBase::InnerIterator::__anon20517
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 DReverse.h77 using Base::IsRowMajor;
86 IsColMajor = !IsRowMajor,
90 OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1,
93 || ((Direction == Horizontal) && IsRowMajor)
H A DAssign_MKL.h51 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 DDenseBase.h167 IsRowMajor = int(Flags) & RowMajorBit, /**< True if this expression has row-major storage order. */ enumerator in enum:Eigen::DenseBase::__anon20523
170 : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime),
199 : int(IsRowMajor) ? this->rows() : this->cols();
210 : int(IsRowMajor) ? this->cols() : this->rows();
507 EIGEN_STATIC_ASSERT((EIGEN_IMPLIES(MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1, int(IsRowMajor))
508 && EIGEN_IMPLIES(MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1, int(!IsRowMajor))),
H A DBlock.h69 IsRowMajor = (MaxRowsAtCompileTime==1&&MaxColsAtCompileTime!=1) ? 1 enumerator in enum:Eigen::internal::traits::__anon20512
72 HasSameStorageOrderAsXprType = (IsRowMajor == XprTypeIsRowMajor),
73 InnerSize = IsRowMajor ? int(ColsAtCompileTime) : int(RowsAtCompileTime),
86 FlagsRowMajorBit = IsRowMajor ? RowMajorBit : 0,
H A DReplicate.h53 IsRowMajor = MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1 ? 1 enumerator in enum:Eigen::internal::traits::__anon20687
56 Flags = (_MatrixTypeNested::Flags & HereditaryBits & ~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0),
H A DDenseCoeffsBase.h611 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 DGeneralProduct.h260 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 DSkylineMatrix.h58 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 DSkylineInplaceLU.h39 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 DSkylineMatrixBase.h75 IsRowMajor = Flags & RowMajorBit ? 1 : 0 enumerator in enum:Eigen::SkylineMatrixBase::__anon21092
/external/eigen/test/
H A Dsparse.h64 enum { IsRowMajor = SparseMatrix<Scalar,Opt2,Index>::IsRowMajor }; enumerator in enum:__anon21057
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:__anon21058
125 if(IsRowMajor)
H A Dsparse_basic.cpp173 if(SparseMatrixType::IsRowMajor)
178 if(SparseMatrixType::IsRowMajor)
217 if(SparseMatrixType::IsRowMajor)
221 if(SparseMatrixType::IsRowMajor)
231 if(SparseMatrixType::IsRowMajor)
266 if(SparseMatrixType::IsRowMajor)
307 if(SparseMatrixType::IsRowMajor)
312 if(SparseMatrixType::IsRowMajor)
320 if(SparseMatrixType::IsRowMajor) {
357 if(SparseMatrixType::IsRowMajor)
[all...]
/external/eigen/Eigen/src/Core/products/
H A DSelfadjointRank2Update.h76 enum { IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0 }; enumerator in enum:Eigen::__anon20781
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 DSelfadjointMatrixVector_MKL.h85 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, \
91 char uplo=(IsRowMajor) ? (IsLower ? 'U' : 'L') : (IsLower ? 'L' : 'U'); \
H A DSelfadjointMatrixVector.h50 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, enumerator in enum:Eigen::internal::__anon20775
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 DHouseholderQR_MKL.h54 lapack_int matrix_order = (MatrixQR::IsRowMajor) ? LAPACK_ROW_MAJOR : LAPACK_COL_MAJOR; \
/external/eigen/Eigen/src/plugins/
H A DBlockMethods.h15 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...]

Completed in 214 milliseconds

12