This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
View | Details | Raw Unified | Return to bug 706 | Differences between
and this patch

Collapse All | Expand All

(-)SimplicialCholesky_old.h (-4 / +4 lines)
Lines 255-262 Link Here
255
  typedef SparseMatrix<Scalar, ColMajor, Index>               CholMatrixType;
255
  typedef SparseMatrix<Scalar, ColMajor, Index>               CholMatrixType;
256
  typedef SparseTriangularView<CholMatrixType, Eigen::Lower>  MatrixL;
256
  typedef SparseTriangularView<CholMatrixType, Eigen::Lower>  MatrixL;
257
  typedef SparseTriangularView<typename CholMatrixType::AdjointReturnType, Eigen::Upper>   MatrixU;
257
  typedef SparseTriangularView<typename CholMatrixType::AdjointReturnType, Eigen::Upper>   MatrixU;
258
  static inline MatrixL getL(const MatrixType& m) { return m; }
258
  static inline MatrixL getL(const CholMatrixType& m) { return m; }
259
  static inline MatrixU getU(const MatrixType& m) { return m.adjoint(); }
259
  static inline MatrixU getU(const CholMatrixType& m) { return m.adjoint(); }
260
};
260
};
261
261
262
template<typename _MatrixType,int _UpLo> struct traits<SimplicialLDLT<_MatrixType,_UpLo> >
262
template<typename _MatrixType,int _UpLo> struct traits<SimplicialLDLT<_MatrixType,_UpLo> >
Lines 268-275 Link Here
268
  typedef SparseMatrix<Scalar, ColMajor, Index>                   CholMatrixType;
268
  typedef SparseMatrix<Scalar, ColMajor, Index>                   CholMatrixType;
269
  typedef SparseTriangularView<CholMatrixType, Eigen::UnitLower>  MatrixL;
269
  typedef SparseTriangularView<CholMatrixType, Eigen::UnitLower>  MatrixL;
270
  typedef SparseTriangularView<typename CholMatrixType::AdjointReturnType, Eigen::UnitUpper> MatrixU;
270
  typedef SparseTriangularView<typename CholMatrixType::AdjointReturnType, Eigen::UnitUpper> MatrixU;
271
  static inline MatrixL getL(const MatrixType& m) { return m; }
271
  static inline MatrixL getL(const CholMatrixType& m) { return m; }
272
  static inline MatrixU getU(const MatrixType& m) { return m.adjoint(); }
272
  static inline MatrixU getU(const CholMatrixType& m) { return m.adjoint(); }
273
};
273
};
274
274
275
template<typename _MatrixType, int _UpLo> struct traits<SimplicialCholesky<_MatrixType,_UpLo> >
275
template<typename _MatrixType, int _UpLo> struct traits<SimplicialCholesky<_MatrixType,_UpLo> >

Return to bug 706