Home
last modified time | relevance | path

Searched refs:IsRowMajor (Results 1 – 25 of 36) sorted by relevance

12

/external/eigen/Eigen/src/SparseCore/
DSparseBlock.h22 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor }; enumerator
24 enum { OuterSize = IsRowMajor ? BlockRows : BlockCols };
35 inline Index row() const { return IsRowMajor ? m_outer : this->index(); } in EIGEN_SPARSE_PUBLIC_INTERFACE()
36 inline Index col() const { return IsRowMajor ? this->index() : m_outer; } in EIGEN_SPARSE_PUBLIC_INTERFACE()
47 inline Index row() const { return IsRowMajor ? m_outer : this->index(); } in row()
48 inline Index col() const { return IsRowMajor ? this->index() : m_outer; } in col()
58 …: m_matrix(xpr), m_outerStart(IsRowMajor ? startRow : startCol), m_outerSize(IsRowMajor ? blockRow… in BlockImpl()
63 … return m_matrix.coeff(row + IsRowMajor ? m_outerStart : 0, col +IsRowMajor ? 0 : m_outerStart); in coeff()
68 return m_matrix.coeff(IsRowMajor ? m_outerStart : index, IsRowMajor ? index : m_outerStart); in coeff()
71 …EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows()… in rows()
[all …]
DMappedSparseMatrix.h36 enum { IsRowMajor = Base::IsRowMajor };
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?cols:rows), m_nnz(nnz), m_outerIndex(o…
135 inline Index row() const { return IsRowMajor ? m_outer : index(); }
136 inline Index col() const { return IsRowMajor ? index() : m_outer; }
[all …]
DSparseMatrix.h94 using Base::IsRowMajor;
102 …typedef SparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0)> TransposedSparseMatri…
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?col:row);
444 return insert(IsRowMajor ? j : i, IsRowMajor ? i : j);
[all …]
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 };
238 … m_rhs.coeff(IsRowMajor?m_outer:m_lhsIter.index(),IsRowMajor?m_lhsIter.index():m_outer)); }
264 enum { IsRowMajor = (int(Rhs::Flags)&RowMajorBit)==RowMajorBit };
278 …{ return m_functor(m_xpr.lhs().coeff(IsRowMajor?m_outer:m_rhsIter.index(),IsRowMajor?m_rhsIter.ind…
DSparseMatrixBase.h91 IsRowMajor = Flags&RowMajorBit ? 1 : 0, enumerator
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> ConstInnerVectorReturn…
/external/eigen/unsupported/Eigen/src/SparseExtra/
DDynamicSparseMatrix.h65 using Base::IsRowMajor;
73 …typedef DynamicSparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0)> TransposedSpar…
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?col:row);
167 const Index outer = IsRowMajor ? row : col;
[all …]
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()…
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineMatrix.h58 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 …]
DSkylineInplaceLU.h39 m_lu.IsRowMajor ? computeRowMajor() : compute(); in m_flags()
125 eigen_assert(!m_lu.IsRowMajor && "LU decomposition does not work with rowMajor Storage"); in compute()
189 …eigen_assert(m_lu.IsRowMajor && "You're trying to apply rowMajor decomposition on a ColMajor matri… in computeRowMajor()
/external/eigen/Eigen/src/Core/
DCoreIterators.h32 enum { IsRowMajor = (Derived::Flags&RowMajorBit)==RowMajorBit }; enumerator
40 return (IsRowMajor) ? m_expression.coeff(m_outer, m_inner) in value()
47 inline Index row() const { return IsRowMajor ? m_outer : index(); } in row()
48 inline Index col() const { return IsRowMajor ? index() : m_outer; } in col()
DReverse.h77 using Base::IsRowMajor;
86 IsColMajor = !IsRowMajor,
90 OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1,
93 || ((Direction == Horizontal) && IsRowMajor)
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));
DDenseBase.h167IsRowMajor = int(Flags) & RowMajorBit, /**< True if this expression has row-major storage order. */ enumerator
170 : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime),
199 : int(IsRowMajor) ? this->rows() : this->cols(); in outerSize()
210 : int(IsRowMajor) ? this->cols() : this->rows(); in innerSize()
511 …N_STATIC_ASSERT((EIGEN_IMPLIES(MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1, int(IsRowMajor)) in DenseBase()
512 … && EIGEN_IMPLIES(MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1, int(!IsRowMajor))), in DenseBase()
DBlock.h70 IsRowMajor = (IsDense&&MaxRowsAtCompileTime==1&&MaxColsAtCompileTime!=1) ? 1
73 HasSameStorageOrderAsXprType = (IsRowMajor == XprTypeIsRowMajor),
74 InnerSize = IsRowMajor ? int(ColsAtCompileTime) : int(RowsAtCompileTime),
87 FlagsRowMajorBit = IsRowMajor ? RowMajorBit : 0,
DDenseCoeffsBase.h611 return Derived::IsRowMajor ? outerStride() : innerStride(); in rowStride()
620 return Derived::IsRowMajor ? innerStride() : outerStride(); in colStride()
682 return Derived::IsRowMajor ? outerStride() : innerStride(); in rowStride()
691 return Derived::IsRowMajor ? innerStride() : outerStride(); in colStride()
DReplicate.h53 IsRowMajor = MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1 ? 1
56 …Flags = (_MatrixTypeNested::Flags & HereditaryBits & ~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0…
DGeneralProduct.h260 …template<typename T> struct IsRowMajor : internal::conditional<(int(T::Flags)&RowMajorBit), intern…
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/test/
Dsparse.h64 enum { IsRowMajor = SparseMatrix<Scalar,Opt2,Index>::IsRowMajor }; enumerator
67 …sparseMat.reserve(VectorXi::Constant(IsRowMajor ? refMat.rows() : refMat.cols(), int((1.5*density)…
75 if(IsRowMajor)
116 enum { IsRowMajor = DynamicSparseMatrix<Scalar,Opt2,Index>::IsRowMajor }; enumerator
125 if(IsRowMajor)
Dsparse_basic.cpp205 if(SparseMatrixType::IsRowMajor) in sparse_basic()
210 if(SparseMatrixType::IsRowMajor) in sparse_basic()
249 if(SparseMatrixType::IsRowMajor) in sparse_basic()
253 if(SparseMatrixType::IsRowMajor) in sparse_basic()
263 if(SparseMatrixType::IsRowMajor) in sparse_basic()
298 if(SparseMatrixType::IsRowMajor) in sparse_basic()
339 if(SparseMatrixType::IsRowMajor) in sparse_basic()
344 if(SparseMatrixType::IsRowMajor) in sparse_basic()
352 if(SparseMatrixType::IsRowMajor) { in sparse_basic()
398 if(SparseMatrixType::IsRowMajor) in sparse_basic()
[all …]
Dnomalloc.cpp183 enum { Flag = MatrixType::IsRowMajor ? Eigen::RowMajor : Eigen::ColMajor}; in test_reference()
184 enum { TransposeFlag = !MatrixType::IsRowMajor ? Eigen::RowMajor : Eigen::ColMajor}; in test_reference()
/external/eigen/Eigen/src/Core/products/
DSelfadjointRank2Update.h76 enum { IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0 };
79 if (IsRowMajor)
83 …typename internal::remove_all<typename internal::conj_expr_if<IsRowMajor ^ UBlasTraits::NeedToConj…
84 …typename internal::remove_all<typename internal::conj_expr_if<IsRowMajor ^ VBlasTraits::NeedToConj…
85 (IsRowMajor ? int(UpLo==Upper ? Lower : Upper) : UpLo)>
DSelfadjointMatrixVector.h50 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, in run() enumerator
52 FirstTriangular = IsRowMajor == IsLower in run()
55 …calar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> … in run()
56 …calar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> … in run()
59 …acket,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> … in run()
60 …acket,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> … in run()
DSelfadjointMatrixVector_MKL.h85 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, \
91 char uplo=(IsRowMajor) ? (IsLower ? 'U' : 'L') : (IsLower ? 'L' : 'U'); \
/external/eigen/Eigen/src/plugins/
DBlockMethods.h15 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr;
16 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> Co…
18 typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr;
19 typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> Con…
21 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBloc…
22 …const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockX…
24 typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlock…
25 …<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockX…
27 …Xpr { typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; };
28 …f const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; };
[all …]
/external/eigen/Eigen/src/QR/
DHouseholderQR_MKL.h56 lapack_int matrix_order = (MatrixQR::IsRowMajor) ? LAPACK_ROW_MAJOR : LAPACK_COL_MAJOR; \

12