removed a leftover "solve" method. Use eigen...

This commit is contained in:
Paolo Cignoni 2014-04-17 08:28:20 +00:00
parent 7dbcb078e5
commit c280fd8e23
1 changed files with 357 additions and 373 deletions

View File

@ -220,22 +220,6 @@ public:
}; };
/** Class for solving A * x = b. */
template <class T> class LinearSolve: public Matrix44<T> {
public:
LinearSolve(const Matrix44<T> &m);
Point4<T> Solve(const Point4<T> &b); // solve A <20> x = b
///If you need to solve some equation you can use this function instead of Matrix44 one for speed.
T Determinant() const;
protected:
///Holds row permutation.
int index[4]; //hold permutation
///Hold sign of row permutation (used for determinant sign)
T d;
bool Decompose();
};
/*** Postmultiply */ /*** Postmultiply */
//template <class T> Point3<T> operator*(const Point3<T> &p, const Matrix44<T> &m); //template <class T> Point3<T> operator*(const Point3<T> &p, const Matrix44<T> &m);