Home
last modified time | relevance | path

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

123

/external/eigen/unsupported/Eigen/src/SparseExtra/
DDynamicSparseMatrix.h67 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 …]
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 …]
/external/eigen/Eigen/src/SparseCore/
DSparseBlock.h23 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 …]
DSparseMap.h57 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 …]
DSparseMatrix.h118 using Base::IsRowMajor;
127 …typedef SparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0)> TransposedSparseMatri…
138 inline Index rows() const { return IsRowMajor ? m_outerSize : m_innerSize; }
140 inline Index cols() const { return IsRowMajor ? m_innerSize : m_outerSize; }
194 const Index outer = IsRowMajor ? row : col;
195 const Index inner = IsRowMajor ? col : row;
212 const Index outer = IsRowMajor ? row : col;
213 const Index inner = IsRowMajor ? col : row;
388 return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor?col:row);
462 return insert(IsRowMajor ? j : i, IsRowMajor ? i : j);
[all …]
DSparseCwiseBinaryOp.h114 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(); }
253 enum { IsRowMajor = (int(Lhs::Flags)&RowMajorBit)==RowMajorBit };
267 Scalar rhsVal = m_rhsEval.coeff(IsRowMajor?m_lhsIter.outer():m_id,
268 IsRowMajor?m_id:m_lhsIter.outer());
[all …]
DSparseCompressedBase.h43 using Base::IsRowMajor;
139 const Index outer = Derived::IsRowMajor ? row : col;
140 const Index inner = Derived::IsRowMajor ? col : row;
224 inline Index row() const { return IsRowMajor ? m_outer.value() : index(); }
225 inline Index col() const { return IsRowMajor ? index() : m_outer.value(); }
292 inline Index row() const { return IsRowMajor ? m_outer.value() : index(); }
293 inline Index col() const { return IsRowMajor ? index() : m_outer.value(); }
DSparseView.h144 enum { IsRowMajor = (XprType::Flags&RowMajorBit)==RowMajorBit };
168 return (IsRowMajor) ? m_sve.m_argImpl.coeff(m_outer, m_inner)
173 inline Index row() const { return IsRowMajor ? m_outer : index(); }
174 inline Index col() const { return IsRowMajor ? index() : m_outer; }
DSparseFuzzy.h20 typename internal::conditional<bool(IsRowMajor)==bool(OtherDerived::IsRowMajor), in isApprox()
DSparseDiagonalProduct.h98 …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/test/
Dsparse.h58 enum { IsRowMajor = SparseMatrix<Scalar,Opt2,StorageIndex>::IsRowMajor }; enumerator
61 …sparseMat.reserve(VectorXi::Constant(IsRowMajor ? refMat.rows() : refMat.cols(), int((1.5*density)…
69 if(IsRowMajor)
113 enum { IsRowMajor = DynamicSparseMatrix<Scalar,Opt2,Index>::IsRowMajor }; enumerator
122 if(IsRowMajor)
Dsparse_block.cpp39 typedef Matrix<Scalar,Dynamic,Dynamic,SparseMatrixType::IsRowMajor?RowMajor:ColMajor> DenseMatrix; in sparse_block()
195 if(SparseMatrixType::IsRowMajor) in sparse_block()
199 if(SparseMatrixType::IsRowMajor) in sparse_block()
211 if(SparseMatrixType::IsRowMajor) in sparse_block()
227 if(SparseMatrixType::IsRowMajor) in sparse_block()
232 if(SparseMatrixType::IsRowMajor) in sparse_block()
240 if(SparseMatrixType::IsRowMajor) { in sparse_block()
274 if(SparseMatrixType::IsRowMajor) in sparse_block()
Dblock.cpp46 …typedef Matrix<Scalar, Dynamic, Dynamic, MatrixType::IsRowMajor?RowMajor:ColMajor> DynamicMatrixTy… in block()
232 VERIFY_IS_EQUAL( int(m1.middleCols(0,0).IsRowMajor), int(m1.IsRowMajor) ); in block()
233 VERIFY_IS_EQUAL( m1.middleCols(0,0).outerSize(), m1.IsRowMajor ? rows : 0); in block()
234 VERIFY_IS_EQUAL( m1.middleCols(0,0).innerSize(), m1.IsRowMajor ? 0 : rows); in block()
236 VERIFY_IS_EQUAL( int(m1.middleRows(0,0).IsRowMajor), int(m1.IsRowMajor) ); in block()
237 VERIFY_IS_EQUAL( m1.middleRows(0,0).outerSize(), m1.IsRowMajor ? 0 : cols); in block()
238 VERIFY_IS_EQUAL( m1.middleRows(0,0).innerSize(), m1.IsRowMajor ? cols : 0); in block()
/external/eigen/Eigen/src/plugins/
DBlockMethods.h14 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 …]
DIndexedViewMethods.h142IsRowMajor && (!(internal::get_compile_time_incr<typename IvcType<Indices>::type>::value==1 || int…
153 …(!IsRowMajor) && (!(internal::get_compile_time_incr<typename IvcType<Indices>::type>::value==1 || …
184 typename internal::enable_if<IsRowMajor,
194 typename internal::enable_if<!IsRowMajor,
/external/eigen/Eigen/src/Core/products/
DSelfadjointRank2Update.h77 enum { IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0 };
80 if (IsRowMajor)
83 …typedef typename internal::remove_all<typename internal::conj_expr_if<int(IsRowMajor) ^ int(UBlasT…
84 …typedef typename internal::remove_all<typename internal::conj_expr_if<int(IsRowMajor) ^ int(VBlasT…
86 (IsRowMajor ? int(UpLo==Upper ? Lower : Upper) : UpLo)>
DSelfadjointMatrixVector.h53 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, in run() enumerator
55 FirstTriangular = IsRowMajor == IsLower in run()
58 …calar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> … in run()
59 …calar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> … in run()
62 …acket,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> … in run()
63 …acket,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> … in run()
DSelfadjointProduct.h96 IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0,
103 typedef internal::gemm_blocking_space<IsRowMajor ? RowMajor : ColMajor,Scalar,Scalar,
112 IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
/external/eigen/Eigen/src/Core/
DCoreIterators.h84 enum { IsRowMajor = (XprType::Flags&RowMajorBit)==RowMajorBit }; enumerator
93 return (IsRowMajor) ? m_eval.coeff(m_outer, m_inner) in value()
100 inline Index row() const { return IsRowMajor ? m_outer : index(); } in row()
101 inline Index col() const { return IsRowMajor ? index() : m_outer; } in col()
DAssign_MKL.h48 StorageOrdersAgree = (int(Dst::IsRowMajor) == int(Src::IsRowMajor)),
96 …const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.nestedExpression().coeffRef(outer,0)) : …
98 …EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); …
159 …const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.lhs().coeffRef(outer,0)) : …
161 …EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); …
DIndexedView.h28 IsRowMajor = (MaxRowsAtCompileTime==1&&MaxColsAtCompileTime!=1) ? 1
34 InnerIncr = IsRowMajor ? ColIncr : RowIncr,
35 OuterIncr = IsRowMajor ? RowIncr : ColIncr,
37 HasSameStorageOrderAsXprType = (IsRowMajor == XprTypeIsRowMajor),
55 FlagsRowMajorBit = IsRowMajor ? RowMajorBit : 0,
DReverse.h71 using Base::IsRowMajor;
76 IsColMajor = !IsRowMajor,
80 OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1,
83 || ((Direction == Horizontal) && IsRowMajor)
DRedux.h33 InnerMaxSize = int(Evaluator::IsRowMajor)
36 OuterMaxSize = int(Evaluator::IsRowMajor)
374 IsRowMajor = XprType::IsRowMajor,
381 { return Base::coeff(IsRowMajor ? outer : inner, IsRowMajor ? inner : outer); }
386 …{ return Base::template packet<LoadMode,PacketType>(IsRowMajor ? outer : inner, IsRowMajor ? inner…
DCoreEvaluators.h171 IsRowMajor = PlainObjectType::IsRowMajor,
183 : int(IsRowMajor) ? ColsAtCompileTime
204 if (IsRowMajor)
219 if (IsRowMajor)
235 if (IsRowMajor)
252 if (IsRowMajor)
892 IsRowMajor = XprType::RowsAtCompileTime,
964 return XprType::IsRowMajor ? m_outerStride.value() : m_innerStride.value();
968 return XprType::IsRowMajor ? m_innerStride.value() : m_outerStride.value();
1051 IsRowMajor = (MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1) ? 1
[all …]

123