Class documentation of Concepts

Loading...
Searching...
No Matches
SmallES.hh
Go to the documentation of this file.
1
6#ifndef SmallES_hh
7#define SmallES_hh
8
9#include <cfloat>
10#include "eigensolver/eigens.hh"
11#include "operator/matrix.hh"
12
13namespace eigensolver {
14
15using concepts::Real;
16using concepts::Cmplx;
17
18 // ********************************************************* SmallES **
19
37 template <typename F = Cmplx>
38 class SmallES : public EigenSolver<F> {
39 public:
40
46
51 template <class G>
53
58 template <class G>
60
65 template <class G>
66 SmallES(concepts::DenseMatrix<G>& A) : SmallES(reinterpret_cast<concepts::Matrix<G> &>(A)) {};
67
68
71 virtual ~SmallES();
78 virtual const concepts::Array<F>& getEV();
83 virtual uint iterations() const { return 0; }
85 virtual uint converged() const { return 0; }
86 protected:
87 virtual std::ostream& info(std::ostream& os) const;
88 private:
89 bool flag_;
93 concepts::Array<F> eigenvalues_;
97 bool computed_;
99 void compute_();
100 };
101
102} // namespace eigensolver
103
104#endif // SmallES_hh
virtual const concepts::Array< F > & getEV()
virtual uint converged() const
Returns the number of converged eigenpairs: (not implemented)
Definition SmallES.hh:85
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
SmallES(concepts::DenseMatrix< G > &A)
Definition SmallES.hh:66
virtual uint iterations() const
Returns the number of iterations.
Definition SmallES.hh:83
SmallES(concepts::Matrix< G > &A)
virtual const concepts::Array< concepts::Vector< F > * > & getEF()
SmallES(concepts::Array< F > &A)
SmallES(concepts::ElementMatrix< G > &A)
double Real
Definition typedefs.hh:39
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition typedefs.hh:42