* add Jacobi transformations

* add Jacobi (Hestenes) SVD decomposition for square matrices
* add function for trivial Householder
This commit is contained in:
Benoit Jacob
2009-08-09 16:58:13 +02:00
parent 5f8d58f36a
commit 3ed83fa681
6 changed files with 303 additions and 0 deletions

View File

@@ -778,6 +778,12 @@ template<typename Derived> class MatrixBase
void applyHouseholderOnTheRight(const EssentialPart& essential,
const RealScalar& beta);
///////// Jacobi module /////////
void applyJacobiOnTheLeft(int p, int q, Scalar c, Scalar s);
void applyJacobiOnTheRight(int p, int q, Scalar c, Scalar s);
bool makeJacobi(int p, int q, Scalar max_coeff, Scalar *c, Scalar *s);
bool makeJacobiForAtA(int p, int q, Scalar max_coeff, Scalar *c, Scalar *s);
#ifdef EIGEN_MATRIXBASE_PLUGIN
#include EIGEN_MATRIXBASE_PLUGIN