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 
14 namespace 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  */
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
Interafce for eigenvalue solvers.
Definition: eigens.hh:23
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual uint converged() const =0
Returns the number of converged eigen pairs.
virtual uint iterations() const =0
Returns the number of iterations.
An array of objects.
Definition: bilinearForm.hh:23
virtual const concepts::Array< F > & getEV()=0
Returns an array with the eigen values.
Class providing an output operator.
Eigenvalue solvers.
Definition: ARPACK.hh:19
virtual const concepts::Array< concepts::Vector< F > * > & getEF()=0
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich