HomeSort by relevance Sort by last modified time
    Searched refs:IsRowMajor (Results 1 - 25 of 36) sorted by null

1 2

  /external/eigen/Eigen/src/Core/
CoreIterators.h 32 enum { IsRowMajor = (Derived::Flags&RowMajorBit)==RowMajorBit };
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; }
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));
Reverse.h 77 using Base::IsRowMajor;
86 IsColMajor = !IsRowMajor,
90 OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1,
93 || ((Direction == Horizontal) && IsRowMajor)
DenseBase.h 167 IsRowMajor = int(Flags) & RowMajorBit, /**< True if this expression has row-major storage order. */
170 : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime),
199 : int(IsRowMajor) ? this->rows() : this->cols();
210 : int(IsRowMajor) ? this->cols() : this->rows();
509 EIGEN_STATIC_ASSERT((EIGEN_IMPLIES(MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1, int(IsRowMajor))
510 && EIGEN_IMPLIES(MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1, int(!IsRowMajor))),
Block.h 69 IsRowMajor = (MaxRowsAtCompileTime==1&&MaxColsAtCompileTime!=1) ? 1
72 HasSameStorageOrderAsXprType = (IsRowMajor == XprTypeIsRowMajor),
73 InnerSize = IsRowMajor ? int(ColsAtCompileTime) : int(RowsAtCompileTime),
86 FlagsRowMajorBit = IsRowMajor ? RowMajorBit : 0,
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();
Replicate.h 53 IsRowMajor = MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1 ? 1
56 Flags = (_MatrixTypeNested::Flags & HereditaryBits & ~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0),
GeneralProduct.h 260 template<typename T> struct IsRowMajor : internal::conditional<(int(T::Flags)&RowMajorBit), internal::true_type, internal::false_type>::type {};
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/SparseExtra/
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(); }
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?col:row)
    [all...]
  /external/eigen/Eigen/src/SparseCore/
MappedSparseMatrix.h 36 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(outerIndexPtr)
    [all...]
SparseBlock.h 22 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor };
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 ? m_outerSize.value() : m_matrix.rows();
    [all...]
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?col:row)
    [all...]
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 };
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.index():m_outer), m_rhsIter.value()); }
SparseMatrixBase.h 91 IsRowMajor = Flags&RowMajorBit ? 1 : 0,
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/unsupported/Eigen/src/Skyline/
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...]
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 !");
SkylineMatrixBase.h 75 IsRowMajor = Flags & RowMajorBit ? 1 : 0
  /external/eigen/test/
sparse.h 64 enum { IsRowMajor = SparseMatrix<Scalar,Opt2,Index>::IsRowMajor };
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 };
125 if(IsRowMajor)
sparse_basic.cpp 173 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/
SelfadjointRank2Update.h 76 enum { IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0 };
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)>
SelfadjointMatrixVector_MKL.h 85 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, \
91 char uplo=(IsRowMajor) ? (IsLower ? 'U' : 'L') : (IsLower ? 'L' : 'U'); \
SelfadjointMatrixVector.h 50 IsRowMajor = StorageOrder==RowMajor ? 1 : 0,
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/
HouseholderQR_MKL.h 54 lapack_int matrix_order = (MatrixQR::IsRowMajor) ? LAPACK_ROW_MAJOR : LAPACK_COL_MAJOR; \
  /external/eigen/Eigen/src/plugins/
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> Type; }
    [all...]

Completed in 1184 milliseconds

1 2