Home
last modified time | relevance | path

Searched refs:UpLo (Results 1 – 25 of 27) sorted by relevance

12

/external/eigen/blas/
DRank2Update.h18 template<typename Scalar, typename Index, int UpLo>
26 …Map<Matrix<Scalar,Dynamic,1> >(mat+stride*i+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1)) += in run()
27 …numext::conj(alpha) * numext::conj(u[i]) * OtherMap(v+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i … in run()
28 … + alpha * numext::conj(v[i]) * OtherMap(u+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1)); in run()
36 template<typename Scalar, typename Index, int UpLo>
45 Map<Matrix<Scalar,Dynamic,1> >(mat+offset, UpLo==Lower ? size-i : (i+1)) += in run()
46 …numext::conj(alpha) * numext::conj(u[i]) * OtherMap(v+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i … in run()
47 … + alpha * numext::conj(v[i]) * OtherMap(u+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1)); in run()
49 mat[offset+(UpLo==Lower ? 0 : i)] = numext::real(mat[offset+(UpLo==Lower ? 0 : i)]); in run()
50 offset += UpLo==Lower ? size-i : (i+1); in run()
DPackedSelfadjointProduct.h18 template<typename Scalar, typename Index, int StorageOrder, int UpLo, bool ConjLhs, bool ConjRhs>
21 template<typename Scalar, typename Index, int UpLo, bool ConjLhs, bool ConjRhs>
22 struct selfadjoint_packed_rank1_update<Scalar,Index,ColMajor,UpLo,ConjLhs,ConjRhs>
33 …alar,Dynamic,1> >(mat, UpLo==Lower ? size-i : (i+1)) += alpha * cj(vec[i]) * ConjRhsType(OtherMap(…
35 mat[UpLo==Lower ? 0 : i] = numext::real(mat[UpLo==Lower ? 0 : i]);
36 mat += UpLo==Lower ? size-i : (i+1);
41 template<typename Scalar, typename Index, int UpLo, bool ConjLhs, bool ConjRhs>
42 struct selfadjoint_packed_rank1_update<Scalar,Index,RowMajor,UpLo,ConjLhs,ConjRhs>
47 …selfadjoint_packed_rank1_update<Scalar,Index,ColMajor,UpLo==Lower?Upper:Lower,ConjRhs,ConjLhs>::ru…
/external/eigen/Eigen/src/SparseCore/
DSparseSelfAdjointView.h29 template<typename Lhs, typename Rhs, int UpLo>
32 template<typename Lhs, typename Rhs, int UpLo>
37 template<typename MatrixType, unsigned int UpLo>
38 struct traits<SparseSelfAdjointView<MatrixType,UpLo> > : traits<MatrixType> {
44 template<int UpLo,typename MatrixType,int DestOrder>
49 template<typename MatrixType, unsigned int UpLo> class SparseSelfAdjointView
50 : public EigenBase<SparseSelfAdjointView<MatrixType,UpLo> >
98 SparseSelfAdjointTimeDenseProduct<MatrixType,OtherDerived,UpLo>
101 … return SparseSelfAdjointTimeDenseProduct<MatrixType,OtherDerived,UpLo>(m_matrix, rhs.derived());
106 DenseTimeSparseSelfAdjointProduct<OtherDerived,MatrixType,UpLo>
[all …]
DTriangularSolver.h18 int UpLo = (Mode & Lower)
198 int UpLo = (Mode & Lower)
207 template<typename Lhs, typename Rhs, int Mode, int UpLo>
208 struct sparse_solve_triangular_sparse_selector<Lhs,Rhs,Mode,UpLo,ColMajor>
215 const bool IsLower = (UpLo==Lower);
DSparseMatrixBase.h387 …template<unsigned int UpLo> inline const SparseSelfAdjointView<Derived, UpLo> selfadjointView() co…
388 template<unsigned int UpLo> inline SparseSelfAdjointView<Derived, UpLo> selfadjointView();
DSparseUtil.h77 template<typename MatrixType, unsigned int UpLo> class SparseSelfAdjointView;
91 template<typename MatrixType,int UpLo> class SparseSymmetricPermutationProduct;
/external/eigen/Eigen/src/Core/products/
DSelfadjointProduct.h22 template<typename Scalar, typename Index, int UpLo, bool ConjLhs, bool ConjRhs>
23 struct selfadjoint_rank1_update<Scalar,Index,ColMajor,UpLo,ConjLhs,ConjRhs>
32 … Map<Matrix<Scalar,Dynamic,1> >(mat+stride*i+(UpLo==Lower ? i : 0), (UpLo==Lower ? size-i : (i+1)))
33 …+= (alpha * cj(vecY[i])) * ConjLhsType(OtherMap(vecX+(UpLo==Lower ? i : 0),UpLo==Lower ? size-i : …
38 template<typename Scalar, typename Index, int UpLo, bool ConjLhs, bool ConjRhs>
39 struct selfadjoint_rank1_update<Scalar,Index,RowMajor,UpLo,ConjLhs,ConjRhs>
43 …selfadjoint_rank1_update<Scalar,Index,ColMajor,UpLo==Lower?Upper:Lower,ConjRhs,ConjLhs>::run(size,…
47 template<typename MatrixType, typename OtherType, int UpLo, bool OtherIsVector = OtherType::IsVecto…
50 template<typename MatrixType, typename OtherType, int UpLo>
51 struct selfadjoint_product_selector<MatrixType,OtherType,UpLo,true>
[all …]
DGeneralMatrixMatrixTriangular.h15 template<typename Scalar, typename Index, int StorageOrder, int UpLo, bool ConjLhs, bool ConjRhs>
28 …hsScalar, typename RhsScalar, typename Index, int mr, int nr, bool ConjLhs, bool ConjRhs, int UpLo>
35 int ResStorageOrder, int UpLo, int Version = Specialized>
40 … typename RhsScalar, int RhsStorageOrder, bool ConjugateRhs, int UpLo, int Version>
41 …hsScalar,LhsStorageOrder,ConjugateLhs,RhsScalar,RhsStorageOrder,ConjugateRhs,RowMajor,UpLo,Version>
50 ColMajor, UpLo==Lower?Upper:Lower>
56 … typename RhsScalar, int RhsStorageOrder, bool ConjugateRhs, int UpLo, int Version>
57 …hsScalar,LhsStorageOrder,ConjugateLhs,RhsScalar,RhsStorageOrder,ConjugateRhs,ColMajor,UpLo,Version>
85 …kernel<LhsScalar, RhsScalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs, UpLo> sybb;
104 if (UpLo==Lower)
[all …]
DGeneralMatrixMatrixTriangular_MKL.h40 …ypename Index, typename Scalar, int AStorageOrder, bool ConjugateA, int ResStorageOrder, int UpLo>
43 …Index,Scalar,AStorageOrder,ConjugateA,Scalar,AStorageOrder,ConjugateA,ResStorageOrder,UpLo,BuiltIn…
49 int RhsStorageOrder, bool ConjugateRhs, int UpLo> \
51 Scalar,RhsStorageOrder,ConjugateRhs,ColMajor,UpLo,Specialized> { \
56 general_matrix_matrix_rankupdate<Index,Scalar,LhsStorageOrder,ConjugateLhs,ColMajor,UpLo> \
62 ColMajor, UpLo, BuiltIn> \
75 template <typename Index, int AStorageOrder, bool ConjugateA, int UpLo> \
76 struct general_matrix_matrix_rankupdate<Index,EIGTYPE,AStorageOrder,ConjugateA,ColMajor,UpLo> { \
78 IsLower = (UpLo&Lower) == Lower, \
100 template <typename Index, int AStorageOrder, bool ConjugateA, int UpLo> \
[all …]
DSelfadjointMatrixVector_MKL.h46 template<typename Scalar, typename Index, int StorageOrder, int UpLo, bool ConjugateLhs, bool Conju…
48 …selfadjoint_matrix_vector_product<Scalar,Index,StorageOrder,UpLo,ConjugateLhs,ConjugateRhs,BuiltIn…
51 template<typename Index, int StorageOrder, int UpLo, bool ConjugateLhs, bool ConjugateRhs> \
52 struct selfadjoint_matrix_vector_product<Scalar,Index,StorageOrder,UpLo,ConjugateLhs,ConjugateRhs,S…
60 …selfadjoint_matrix_vector_product<Scalar,Index,StorageOrder,UpLo,ConjugateLhs,ConjugateRhs,BuiltIn…
63 …selfadjoint_matrix_vector_product_symv<Scalar,Index,StorageOrder,UpLo,ConjugateLhs,ConjugateRhs>::…
75 template<typename Index, int StorageOrder, int UpLo, bool ConjugateLhs, bool ConjugateRhs> \
76 struct selfadjoint_matrix_vector_product_symv<EIGTYPE,Index,StorageOrder,UpLo,ConjugateLhs,Conjugat…
86 IsLower = UpLo == Lower ? 1 : 0 \
DSelfadjointRank2Update.h21 template<typename Scalar, typename Index, typename UType, typename VType, int UpLo>
58 template<typename MatrixType, unsigned int UpLo>
60 SelfAdjointView<MatrixType,UpLo>& SelfAdjointView<MatrixType,UpLo>
85 (IsRowMajor ? int(UpLo==Upper ? Lower : Upper) : UpLo)>
DSelfadjointMatrixVector.h23 template<typename Scalar, typename Index, int StorageOrder, int UpLo, bool ConjugateLhs, bool Conju…
26 template<typename Scalar, typename Index, int StorageOrder, int UpLo, bool ConjugateLhs, bool Conju…
38 template<typename Scalar, typename Index, int StorageOrder, int UpLo, bool ConjugateLhs, bool Conju…
39 EIGEN_DONT_INLINE void selfadjoint_matrix_vector_product<Scalar,Index,StorageOrder,UpLo,ConjugateLh… in run()
51 IsLower = UpLo == Lower ? 1 : 0, in run()
/external/eigen/Eigen/src/Eigenvalues/
DMatrixBaseEigenvalues.h87 template<typename MatrixType, unsigned int UpLo>
88 inline typename SelfAdjointView<MatrixType, UpLo>::EigenvaluesReturnType
89 SelfAdjointView<MatrixType, UpLo>::eigenvalues() const
91 typedef typename SelfAdjointView<MatrixType, UpLo>::PlainObject PlainObject;
151 template<typename MatrixType, unsigned int UpLo>
152 inline typename SelfAdjointView<MatrixType, UpLo>::RealScalar
153 SelfAdjointView<MatrixType, UpLo>::operatorNorm() const
/external/eigen/Eigen/src/Core/
DSelfAdjointView.h32 template<typename MatrixType, unsigned int UpLo>
33 struct traits<SelfAdjointView<MatrixType, UpLo> > : traits<MatrixType>
40 Mode = UpLo | SelfAdjoint,
53 template<typename MatrixType, unsigned int UpLo> class SelfAdjointView
54 : public TriangularBase<SelfAdjointView<MatrixType, UpLo> >
152 const LLT<PlainObject, UpLo> llt() const;
153 const LDLT<PlainObject, UpLo> ldlt() const;
170 OtherPart = UpLo == Upper ? StrictlyLower : StrictlyUpper
172 m_matrix.const_cast_derived().template triangularView<UpLo>() = other;
180 OtherPart = UpLo == Upper ? StrictlyLower : StrictlyUpper
[all …]
DMatrixBase.h248 …template<unsigned int UpLo> struct SelfAdjointViewReturnType { typedef SelfAdjointView<Derived, Up…
249 …template<unsigned int UpLo> struct ConstSelfAdjointViewReturnType { typedef const SelfAdjointView<…
251 template<unsigned int UpLo> typename SelfAdjointViewReturnType<UpLo>::Type selfadjointView();
252 …template<unsigned int UpLo> typename ConstSelfAdjointViewReturnType<UpLo>::Type selfadjointView() …
/external/eigen/Eigen/src/Cholesky/
DLLT.h16 template<typename MatrixType, int UpLo> struct LLT_Traits;
67 UpLo = _UpLo enumerator
70 typedef internal::LLT_Traits<MatrixType,UpLo> Traits;
194 template<typename Scalar, int UpLo> struct llt_inplace;
419 if(internal::llt_inplace<typename MatrixType::Scalar, UpLo>::rankUpdate(m_matrix,v,sigma)>=0)
428 template<typename _MatrixType, int UpLo, typename Rhs>
429 struct solve_retval<LLT<_MatrixType, UpLo>, Rhs>
430 : solve_retval_base<LLT<_MatrixType, UpLo>, Rhs>
432 typedef LLT<_MatrixType,UpLo> LLTType;
489 template<typename MatrixType, unsigned int UpLo>
[all …]
DLDLT.h19 template<typename MatrixType, int UpLo> struct LDLT_Traits;
58 UpLo = _UpLo enumerator
68 typedef internal::LDLT_Traits<MatrixType,UpLo> Traits;
259 template<int UpLo> struct ldlt_inplace;
454 internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign);
486 internal::ldlt_inplace<UpLo>::update(m_matrix, m_transpositions, m_temporary, w, sigma);
592 template<typename MatrixType, unsigned int UpLo>
593 inline const LDLT<typename SelfAdjointView<MatrixType, UpLo>::PlainObject, UpLo>
594 SelfAdjointView<MatrixType, UpLo>::ldlt() const
596 return LDLT<PlainObject,UpLo>(m_matrix);
/external/eigen/Eigen/src/SparseCholesky/
DSimplicialCholesky.h41 enum { UpLo = internal::traits<Derived>::UpLo }; enumerator
201 ap.template selfadjointView<Upper>() = a.template selfadjointView<UpLo>().twistedBy(m_P); in factorize()
254 enum { UpLo = _UpLo };
268 enum { UpLo = _UpLo };
282 enum { UpLo = _UpLo };
310 enum { UpLo = _UpLo };
399 enum { UpLo = _UpLo };
481 enum { UpLo = _UpLo };
489 typedef internal::traits<SimplicialLDLT<MatrixType,UpLo> > LDLTTraits;
490 typedef internal::traits<SimplicialLLT<MatrixType,UpLo> > LLTTraits;
[all …]
/external/eigen/Eigen/src/CholmodSupport/
DCholmodSupport.h107 template<typename _Scalar, int _Options, typename _Index, unsigned int UpLo>
108 …sparse viewAsCholmod(const SparseSelfAdjointView<SparseMatrix<_Scalar,_Options,_Index>, UpLo>& mat) in viewAsCholmod()
112 if(UpLo==Upper) res.stype = 1; in viewAsCholmod()
113 if(UpLo==Lower) res.stype = -1; in viewAsCholmod()
164 enum { UpLo = _UpLo }; enumerator
260 cholmod_sparse A = viewAsCholmod(matrix.template selfadjointView<UpLo>()); in analyzePattern()
278 cholmod_sparse A = viewAsCholmod(matrix.template selfadjointView<UpLo>()); in factorize()
/external/eigen/Eigen/src/IterativeLinearSolvers/
DConjugateGradient.h161 UpLo = _UpLo
203 typedef typename internal::conditional<UpLo==(Lower|Upper),
205 SparseSelfAdjointView<const MatrixType, UpLo>
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DMINRES.h214 enum {UpLo = _UpLo};
256 typedef typename internal::conditional<UpLo==(Lower|Upper),
258 SparseSelfAdjointView<const MatrixType, UpLo>
DIncompleteCholesky.h41 enum { UpLo = _UpLo }; enumerator
77 ord(mat.template selfadjointView<UpLo>(), m_perm); in analyzePattern()
/external/eigen/Eigen/src/PardisoSupport/
DPardisoSupport.h470 enum { UpLo = _UpLo };
494 …m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_n…
533 enum { UpLo = Options&(Upper|Lower) };
553 …m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_n…
/external/eigen/Eigen/src/PaStiXSupport/
DPaStiXSupport.h549 enum { UpLo = _UpLo };
602 out.template selfadjointView<Lower>() = matrix.template selfadjointView<UpLo>();
630 enum { UpLo = _UpLo };
684 out.template selfadjointView<Lower>() = matrix.template selfadjointView<UpLo>();
/external/eigen/test/
Dsparse_solver.h164 if(Solver::UpLo==(Lower|Upper))
167 halfA.template selfadjointView<Solver::UpLo>().rankUpdate(M);
236 …halfA.template selfadjointView<Solver::UpLo>() = it.matrix().template triangularView<Eigen::Lower>… in check_sparse_spd_solving()

12