SHOGUN
v3.2.0
|
00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Written (W) 2013 Soumyajit De 00008 */ 00009 00010 #ifndef DIRECT_EIGEN_SOLVER_H_ 00011 #define DIRECT_EIGEN_SOLVER_H_ 00012 00013 #include <shogun/lib/config.h> 00014 00015 #ifdef HAVE_EIGEN3 00016 #include <shogun/mathematics/linalg/eigsolver/EigenSolver.h> 00017 00018 namespace shogun 00019 { 00020 template<class T> class CDenseMatrixOperator; 00021 00025 class CDirectEigenSolver : public CEigenSolver 00026 { 00027 public: 00029 CDirectEigenSolver(); 00030 00037 CDirectEigenSolver(CDenseMatrixOperator<float64_t>* linear_operator); 00038 00040 virtual ~CDirectEigenSolver(); 00041 00046 virtual void compute(); 00047 00049 virtual const char* get_name() const 00050 { 00051 return "DirectEigenSolver"; 00052 } 00053 }; 00054 00055 } 00056 00057 #endif // HAVE_EIGEN3 00058 #endif // DIRECT_EIGEN_SOLVER_H_