SHOGUN
3.2.1
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
shogun
mathematics
linalg
eigsolver
DirectEigenSolver.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Written (W) 2013 Soumyajit De
8
*/
9
10
#ifndef DIRECT_EIGEN_SOLVER_H_
11
#define DIRECT_EIGEN_SOLVER_H_
12
13
#include <
shogun/lib/config.h
>
14
15
#ifdef HAVE_EIGEN3
16
#include <
shogun/mathematics/linalg/eigsolver/EigenSolver.h
>
17
18
namespace
shogun
19
{
20
template
<
class
T>
class
CDenseMatrixOperator
;
21
25
class
CDirectEigenSolver
:
public
CEigenSolver
26
{
27
public
:
29
CDirectEigenSolver
();
30
37
CDirectEigenSolver
(
CDenseMatrixOperator<float64_t>
* linear_operator);
38
40
virtual
~CDirectEigenSolver
();
41
46
virtual
void
compute
();
47
49
virtual
const
char
*
get_name
()
const
50
{
51
return
"DirectEigenSolver"
;
52
}
53
};
54
55
}
56
57
#endif // HAVE_EIGEN3
58
#endif // DIRECT_EIGEN_SOLVER_H_
SHOGUN
Machine Learning Toolbox - Documentation