mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
add partial-pivoting LU decomposition
the name 'PartialLU' is not meant to be definitive! make inverse() and determinant() use it, so it's *almost* considered well tested.
This commit is contained in:
@@ -51,7 +51,7 @@ template<typename Derived,
|
||||
{
|
||||
static inline typename ei_traits<Derived>::Scalar run(const Derived& m)
|
||||
{
|
||||
return m.lu().determinant();
|
||||
return m.partialLu().determinant();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user