Class documentation of Concepts

Loading...
Searching...
No Matches
eigens.hh
Go to the documentation of this file.
1
6#ifndef eigens_hh
7#define eigens_hh
8
10#include "basics/typedefs.hh"
11#include "function/vector.hh"
12#include "toolbox/array.hh"
13
14namespace eigensolver {
15
16 // *********************************************************** EigenSolver **
17
22 template <typename F>
24 public:
29 virtual const concepts::Array<F>& getEV() = 0;
30 /* Returns an array with the eigen functions
31 * @deprecated: this interface requires that the returned array
32 * must be hold as a member variable of the class. (use std::auto_pointer or similar)
33 */
34 virtual const concepts::Array<concepts::Vector<F>*>& getEF() = 0;
35
37 virtual uint converged() const = 0;
39 virtual uint iterations() const = 0;
40 protected:
41 virtual std::ostream& info(std::ostream& os) const;
42 };
43
44}
45
46#endif // eigens_hh
virtual uint converged() const =0
Returns the number of converged eigen pairs.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual const concepts::Array< F > & getEV()=0
virtual uint iterations() const =0
Returns the number of iterations.