Lines Matching refs:MatrixType

19   template<typename MatrixType, int UpLo> struct LDLT_Traits;
53 typedef _MatrixType MatrixType;
55 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
56 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
57 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
58 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime,
61 typedef typename MatrixType::Scalar Scalar;
62 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
64 typedef typename MatrixType::StorageIndex StorageIndex;
70 typedef internal::LDLT_Traits<MatrixType,UpLo> Traits;
75 * perform decompositions via LDLT::compute(const MatrixType&).
117 * This overloaded constructor is provided for \link InplaceDecomposition inplace decomposition \endlink when \c MatrixType is a Eigen::Ref.
163 inline Diagonal<const MatrixType> vectorD() const
230 inline const MatrixType& matrixLDLT() const
236 MatrixType reconstructedMatrix() const;
278 MatrixType m_matrix;
293 template<typename MatrixType, typename TranspositionType, typename Workspace>
294 static bool unblocked(MatrixType& mat, TranspositionType& transpositions, Workspace& temp, SignMatrix& sign)
297 typedef typename MatrixType::Scalar Scalar;
298 typedef typename MatrixType::RealScalar RealScalar;
345 Block<MatrixType,Dynamic,1> A21(mat,k+1,k,rs,1);
346 Block<MatrixType,1,Dynamic> A10(mat,k,0,1,k);
347 Block<MatrixType,Dynamic,Dynamic> A20(mat,k+1,0,rs,k);
403 template<typename MatrixType, typename WDerived>
404 static bool updateInPlace(MatrixType& mat, MatrixBase<WDerived>& w, const typename MatrixType::RealScalar& sigma=1)
407 typedef typename MatrixType::Scalar Scalar;
408 typedef typename MatrixType::RealScalar RealScalar;
441 template<typename MatrixType, typename TranspositionType, typename Workspace, typename WType>
442 static bool update(MatrixType& mat, const TranspositionType& transpositions, Workspace& tmp, const WType& w, const typename MatrixType::RealScalar& sigma=1)
453 template<typename MatrixType, typename TranspositionType, typename Workspace>
454 static EIGEN_STRONG_INLINE bool unblocked(MatrixType& mat, TranspositionType& transpositions, Workspace& temp, SignMatrix& sign)
456 Transpose<MatrixType> matt(mat);
460 template<typename MatrixType, typename TranspositionType, typename Workspace, typename WType>
461 static EIGEN_STRONG_INLINE bool update(MatrixType& mat, TranspositionType& transpositions, Workspace& tmp, WType& w, const typename MatrixType::RealScalar& sigma=1)
463 Transpose<MatrixType> matt(mat);
468 template<typename MatrixType> struct LDLT_Traits<MatrixType,Lower>
470 typedef const TriangularView<const MatrixType, UnitLower> MatrixL;
471 typedef const TriangularView<const typename MatrixType::AdjointReturnType, UnitUpper> MatrixU;
472 static inline MatrixL getL(const MatrixType& m) { return MatrixL(m); }
473 static inline MatrixU getU(const MatrixType& m) { return MatrixU(m.adjoint()); }
476 template<typename MatrixType> struct LDLT_Traits<MatrixType,Upper>
478 typedef const TriangularView<const typename MatrixType::AdjointReturnType, UnitLower> MatrixL;
479 typedef const TriangularView<const MatrixType, UnitUpper> MatrixU;
480 static inline MatrixL getL(const MatrixType& m) { return MatrixL(m.adjoint()); }
481 static inline MatrixU getU(const MatrixType& m) { return MatrixU(m); }
488 template<typename MatrixType, int _UpLo>
490 LDLT<MatrixType,_UpLo>& LDLT<MatrixType,_UpLo>::compute(const EigenBase<InputType>& a)
528 template<typename MatrixType, int _UpLo>
530 LDLT<MatrixType,_UpLo>& LDLT<MatrixType,_UpLo>::rankUpdate(const MatrixBase<Derived>& w, const typename LDLT<MatrixType,_UpLo>::RealScalar& sigma)
570 const typename Diagonal<const MatrixType>::RealReturnType vecD(vectorD());
608 template<typename MatrixType,int _UpLo>
610 bool LDLT<MatrixType,_UpLo>::solveInPlace(MatrixBase<Derived> &bAndX) const
623 template<typename MatrixType, int _UpLo>
624 MatrixType LDLT<MatrixType,_UpLo>::reconstructedMatrix() const
628 MatrixType res(size,size);
649 template<typename MatrixType, unsigned int UpLo>
650 inline const LDLT<typename SelfAdjointView<MatrixType, UpLo>::PlainObject, UpLo>
651 SelfAdjointView<MatrixType, UpLo>::ldlt() const