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

1 2

  /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 67 using Base::IsRowMajor;
75 typedef DynamicSparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0), StorageIndex> TransposedSparseMatrix;
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)
    [all...]
  /external/eigen/Eigen/src/SparseCore/
SparseFuzzy.h 20 typename internal::conditional<bool(IsRowMajor)==bool(OtherDerived::IsRowMajor),
SparseBlock.h 23 enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor };
25 enum { OuterSize = IsRowMajor ? BlockRows : BlockCols };
36 : m_matrix(xpr), m_outerStart(convert_index(IsRowMajor ? startRow : startCol)), m_outerSize(convert_index(IsRowMajor ? blockRows : blockCols))
39 EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows(); }
40 EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value(); }
56 return m_matrix.coeff(row + (IsRowMajor ? m_outerStart : 0), col + (IsRowMajor ? 0 : m_outerStart));
61 return m_matrix.coeff(IsRowMajor ? m_outerStart : index, IsRowMajor ? index : m_outerStart)
    [all...]
SparseMap.h 57 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::convert_index<StorageIndex>(nnz)), m_outerIndex(outerIndexPtr),
157 enum { IsRowMajor = Base::IsRowMajor };
    [all...]
SparseMatrix.h 116 using Base::IsRowMajor;
125 typedef SparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0)> TransposedSparseMatrix;
136 inline Index rows() const { return IsRowMajor ? m_outerSize : m_innerSize; }
138 inline Index cols() const { return IsRowMajor ? m_innerSize : m_outerSize; }
192 const Index outer = IsRowMajor ? row : col;
193 const Index inner = IsRowMajor ? col : row;
210 const Index outer = IsRowMajor ? row : col;
211 const Index inner = IsRowMajor ? col : row;
385 return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor?col:row)
    [all...]
SparseCompressedBase.h 43 using Base::IsRowMajor;
194 inline Index row() const { return IsRowMajor ? m_outer.value() : index(); }
195 inline Index col() const { return IsRowMajor ? index() : m_outer.value(); }
254 inline Index row() const { return IsRowMajor ? m_outer.value() : index(); }
255 inline Index col() const { return IsRowMajor ? index() : m_outer.value(); }
322 const Index outer = Derived::IsRowMajor ? row : col;
323 const Index inner = Derived::IsRowMajor ? col : row;
SparseDiagonalProduct.h 98 typedef typename nested_eval<DiagCoeffType,SparseXprType::IsRowMajor ? SparseXprType::RowsAtCompileTime
112 inline Index col() const { return SparseXprType::IsRowMajor ? m_sparseIter.index() : m_sparseIter.outer(); }
113 inline Index row() const { return SparseXprType::IsRowMajor ? m_sparseIter.outer() : m_sparseIter.index(); }
SparseCwiseBinaryOp.h 114 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(); }
254 enum { IsRowMajor = (int(Lhs::Flags)&RowMajorBit)==RowMajorBit };
268 Scalar rhsVal = m_rhsEval.coeff(IsRowMajor?m_lhsIter.outer():m_id,
269 IsRowMajor?m_id:m_lhsIter.outer())
    [all...]
SparseView.h 143 enum { IsRowMajor = (XprType::Flags&RowMajorBit)==RowMajorBit };
167 return (IsRowMajor) ? m_sve.m_argImpl.coeff(m_outer, m_inner)
172 inline Index row() const { return IsRowMajor ? m_outer : index(); }
173 inline Index col() const { return IsRowMajor ? index() : m_outer; }
SparseMatrixBase.h 95 IsRowMajor = Flags&RowMajorBit ? 1 : 0,
98 : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime),
354 typedef Block<Derived,IsRowMajor?1:Dynamic,IsRowMajor?Dynamic:1,true> InnerVectorReturnType;
355 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...]
  /external/eigen/Eigen/src/Core/
CoreIterators.h 79 enum { IsRowMajor = (XprType::Flags&RowMajorBit)==RowMajorBit };
88 return (IsRowMajor) ? m_eval.coeff(m_outer, m_inner)
95 inline Index row() const { return IsRowMajor ? m_outer : index(); }
96 inline Index col() const { return IsRowMajor ? index() : m_outer; }
Reverse.h 71 using Base::IsRowMajor;
76 IsColMajor = !IsRowMajor,
80 OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1,
83 || ((Direction == Horizontal) && IsRowMajor)
Assign_MKL.h 48 StorageOrdersAgree = (int(Dst::IsRowMajor) == int(Src::IsRowMajor)),
95 const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.nestedExpression().coeffRef(outer,0)) : \
97 EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); \
157 const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.lhs().coeffRef(outer,0)) : \
159 EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); \
Replicate.h 35 IsRowMajor = MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1 ? 1
40 Flags = IsRowMajor ? RowMajorBit : 0
  /external/eigen/test/
sparse.h 64 enum { IsRowMajor = SparseMatrix<Scalar,Opt2,StorageIndex>::IsRowMajor };
67 sparseMat.reserve(VectorXi::Constant(IsRowMajor ? refMat.rows() : refMat.cols(), int((1.5*density)*(IsRowMajor?refMat.cols():refMat.rows()))));
75 if(IsRowMajor)
119 enum { IsRowMajor = DynamicSparseMatrix<Scalar,Opt2,Index>::IsRowMajor };
128 if(IsRowMajor)
sparse_block.cpp 37 typedef Matrix<Scalar,Dynamic,Dynamic,SparseMatrixType::IsRowMajor?RowMajor:ColMajor> DenseMatrix;
193 if(SparseMatrixType::IsRowMajor)
197 if(SparseMatrixType::IsRowMajor)
209 if(SparseMatrixType::IsRowMajor)
225 if(SparseMatrixType::IsRowMajor)
230 if(SparseMatrixType::IsRowMajor)
238 if(SparseMatrixType::IsRowMajor) {
272 if(SparseMatrixType::IsRowMajor)
  /external/eigen/Eigen/src/Core/products/
SelfadjointRank2Update.h 76 enum { IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0 };
79 if (IsRowMajor)
82 typedef typename internal::remove_all<typename internal::conj_expr_if<IsRowMajor ^ UBlasTraits::NeedToConjugate,_ActualUType>::type>::type UType;
83 typedef typename internal::remove_all<typename internal::conj_expr_if<IsRowMajor ^ VBlasTraits::NeedToConjugate,_ActualVType>::type>::type VType;
85 (IsRowMajor ? int(UpLo==Upper ? Lower : Upper) : UpLo)>
SelfadjointMatrixVector_BLAS.h 85 IsRowMajor = StorageOrder==RowMajor ? 1 : 0, \
91 char uplo=(IsRowMajor) ? (IsLower ? 'U' : 'L') : (IsLower ? 'L' : 'U'); \
SelfadjointMatrixVector.h 51 IsRowMajor = StorageOrder==RowMajor ? 1 : 0,
53 FirstTriangular = IsRowMajor == IsLower
56 conj_helper<Scalar,Scalar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> cj0;
57 conj_helper<Scalar,Scalar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> cj1;
60 conj_helper<Packet,Packet,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> pcj0;
61 conj_helper<Packet,Packet,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> pcj1;
SelfadjointProduct.h 96 IsRowMajor = (internal::traits<MatrixType>::Flags&RowMajorBit) ? 1 : 0,
103 typedef internal::gemm_blocking_space<IsRowMajor ? RowMajor : ColMajor,Scalar,Scalar,
112 IsRowMajor ? RowMajor : ColMajor, UpLo>
  /external/eigen/Eigen/src/QR/
HouseholderQR_LAPACKE.h 53 lapack_int matrix_order = (MatrixQR::IsRowMajor) ? LAPACK_ROW_MAJOR : LAPACK_COL_MAJOR; \
  /external/eigen/unsupported/Eigen/src/KroneckerProduct/
KroneckerTensorProduct.h 168 VectorXi nnzA = VectorXi::Zero(Dest::IsRowMajor ? m_A.rows() : m_A.cols());
171 nnzA(Dest::IsRowMajor ? itA.row() : itA.col())++;
173 VectorXi nnzB = VectorXi::Zero(Dest::IsRowMajor ? m_B.rows() : m_B.cols());
176 nnzB(Dest::IsRowMajor ? itB.row() : itB.col())++;
  /external/eigen/Eigen/src/plugins/
BlockMethods.h 14 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr;
15 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ConstColXpr;
17 typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr;
18 typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowXpr;
20 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBlockXpr;
21 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockXpr;
23 typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlockXpr;
24 typedef const Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockXpr;
26 template<int N> struct NColsBlockXpr { typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; };
27 template<int N> struct ConstNColsBlockXpr { typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, N, !IsRowMajor> Type; }
    [all...]

Completed in 370 milliseconds

1 2