make eigen2 cholesky test pass

This commit is contained in:
Benoit Jacob
2011-01-28 13:04:23 -05:00
parent e001db2a15
commit a1f5ea8954
6 changed files with 44 additions and 19 deletions

View File

@@ -135,6 +135,17 @@ template<typename _MatrixType, int _UpLo> class LLT
return internal::solve_retval<LLT, Rhs>(*this, b.derived());
}
#ifdef EIGEN2_SUPPORT
template<typename OtherDerived, typename ResultType>
bool solve(const MatrixBase<OtherDerived>& b, ResultType *result) const
{
*result = this->solve(b);
return true;
}
bool isPositiveDefinite() const { return true; }
#endif
template<typename Derived>
void solveInPlace(MatrixBase<Derived> &bAndX) const;