move eigen values related stuff of the QR module to a new EigenSolver module.

- perhaps we can find a better name ?
- note that the QR module still includes the EigenSolver module for compatibility
This commit is contained in:
Gael Guennebaud
2009-09-03 11:39:44 +02:00
parent 9515b00876
commit a54b99fa72
18 changed files with 109 additions and 43 deletions

View File

@@ -23,7 +23,7 @@
// Eigen. If not, see <http://www.gnu.org/licenses/>.
#include "main.h"
#include <Eigen/QR>
#include <Eigen/EigenSolver>
#include <Eigen/LU>
template<typename MatrixType> void eigensolver(const MatrixType& m)

View File

@@ -23,7 +23,7 @@
// Eigen. If not, see <http://www.gnu.org/licenses/>.
#include "main.h"
#include <Eigen/QR>
#include <Eigen/EigenSolver>
#ifdef HAS_GSL
#include "gsl_helper.h"

View File

@@ -23,7 +23,7 @@
// Eigen. If not, see <http://www.gnu.org/licenses/>.
#include "main.h"
#include <Eigen/QR>
#include <Eigen/EigenSolver>
#ifdef HAS_GSL
#include "gsl_helper.h"

View File

@@ -71,8 +71,6 @@ template<typename MatrixType> void product_notemporary(const MatrixType& m)
VERIFY_EVALUATION_COUNT( m3 = (m1 * m2.adjoint()), 1);
VERIFY_EVALUATION_COUNT( m3.noalias() = m1 * m2.adjoint(), 0);
// NOTE in this case the slow product is used:
// FIXME:
VERIFY_EVALUATION_COUNT( m3.noalias() = s1 * (m1 * m2.transpose()), 0);
VERIFY_EVALUATION_COUNT( m3.noalias() = s1 * m1 * s2 * m2.adjoint(), 0);