mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
eigen2: pass the inverse test
This commit is contained in:
parent
09d1923f61
commit
b1d6a9945c
@ -345,6 +345,13 @@ template<typename Derived> class MatrixBase
|
|||||||
#if EIGEN2_SUPPORT_STAGE > STAGE20_RESOLVE_API_CONFLICTS
|
#if EIGEN2_SUPPORT_STAGE > STAGE20_RESOLVE_API_CONFLICTS
|
||||||
const PartialPivLU<PlainObject> lu() const;
|
const PartialPivLU<PlainObject> lu() const;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef EIGEN2_SUPPORT
|
||||||
|
template<typename ResultType>
|
||||||
|
void computeInverse(MatrixBase<ResultType> *result) const {
|
||||||
|
*result = this->inverse();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
const internal::inverse_impl<Derived> inverse() const;
|
const internal::inverse_impl<Derived> inverse() const;
|
||||||
template<typename ResultType>
|
template<typename ResultType>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user