renamed inverseProduct => solveTriangular

This commit is contained in:
Gael Guennebaud
2008-08-09 20:06:25 +00:00
parent d6e88f8155
commit b13148c358
16 changed files with 90 additions and 72 deletions

View File

@@ -142,7 +142,7 @@ class SparseMatrixBase : public MatrixBase<Derived>
}
template<typename OtherDerived>
OtherDerived inverseProduct(const MatrixBase<OtherDerived>& other) const;
OtherDerived solveTriangular(const MatrixBase<OtherDerived>& other) const;
protected:

View File

@@ -155,7 +155,7 @@ struct ei_sparse_trisolve_selector<Lhs,Rhs,Upper,ColMajor>
template<typename Derived>
template<typename OtherDerived>
OtherDerived SparseMatrixBase<Derived>::inverseProduct(const MatrixBase<OtherDerived>& other) const
OtherDerived SparseMatrixBase<Derived>::solveTriangular(const MatrixBase<OtherDerived>& other) const
{
ei_assert(derived().cols() == other.rows());
ei_assert(!(Flags & ZeroDiagBit));