#include <JDSymEigsBase.h>
Public Member Functions | |
Index | compute (SortRule selection=SortRule::LargestMagn, Index maxit=100, Scalar tol=100 *Eigen::NumTraits< Scalar >::dummy_precision()) |
Index | compute_with_guess (const Eigen::Ref< const Matrix > &initial_space, SortRule selection=SortRule::LargestMagn, Index maxit=100, Scalar tol=100 *Eigen::NumTraits< Scalar >::dummy_precision()) |
Vector | eigenvalues () const |
Matrix | eigenvectors () const |
CompInfo | info () const |
JDSymEigsBase (OpType &op, Index nev) | |
JDSymEigsBase (OpType &op, Index nev, Index nvec_init, Index nvec_max) | |
Index | num_iterations () const |
void | set_correction_size (Index correction_size) |
void | set_initial_search_space_size (Index initial_search_space_size) |
void | set_max_search_space_size (Index max_search_space_size) |
virtual | ~JDSymEigsBase () |
Protected Types | |
using | Index = Eigen::Index |
using | Matrix = Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > |
using | Scalar = typename OpType::Scalar |
using | Vector = Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > |
Protected Attributes | |
Index | m_correction_size |
Index | m_initial_search_space_size |
const OpType & | m_matrix_operator |
Index | m_max_search_space_size |
const Index | m_number_eigenvalues |
RitzPairs< Scalar > | m_ritz_pairs |
SearchSpace< Scalar > | m_search_space |
Index | niter_ = 0 |
Private Member Functions | |
void | check_argument () const |
void | initialize () |
Private Attributes | |
CompInfo | m_info = CompInfo::NotComputed |
This is the base class for symmetric JD eigen solvers, mainly for internal use. It is kept here to provide the documentation for member functions of concrete eigen solvers such as DavidsonSymEigsSolver.
This class uses the CRTP method to call functions from the derived class.
Definition at line 34 of file JDSymEigsBase.h.
|
protected |
Definition at line 37 of file JDSymEigsBase.h.
|
protected |
Definition at line 39 of file JDSymEigsBase.h.
|
protected |
Definition at line 38 of file JDSymEigsBase.h.
|
protected |
Definition at line 40 of file JDSymEigsBase.h.
|
inline |
Definition at line 76 of file JDSymEigsBase.h.
|
inline |
Definition at line 87 of file JDSymEigsBase.h.
|
inlinevirtual |
Virtual destructor
Definition at line 116 of file JDSymEigsBase.h.
|
inlineprivate |
Definition at line 55 of file JDSymEigsBase.h.
|
inline |
Definition at line 133 of file JDSymEigsBase.h.
|
inline |
Definition at line 141 of file JDSymEigsBase.h.
|
inline |
Definition at line 129 of file JDSymEigsBase.h.
|
inline |
Definition at line 131 of file JDSymEigsBase.h.
|
inline |
Returns the status of the computation. The full list of enumeration values can be found in Enumerations.
Definition at line 122 of file JDSymEigsBase.h.
|
inlineprivate |
Definition at line 61 of file JDSymEigsBase.h.
|
inline |
Returns the number of iterations used in the computation.
Definition at line 127 of file JDSymEigsBase.h.
|
inline |
Sets how many correction vectors are added in each iteration
Definition at line 100 of file JDSymEigsBase.h.
|
inline |
Sets the Initial SearchspaceSize for Ritz values
Definition at line 108 of file JDSymEigsBase.h.
|
inline |
Sets the Maxmium SearchspaceSize after which is deflated
Definition at line 93 of file JDSymEigsBase.h.
|
protected |
Definition at line 48 of file JDSymEigsBase.h.
|
private |
Definition at line 53 of file JDSymEigsBase.h.
|
protected |
Definition at line 47 of file JDSymEigsBase.h.
|
protected |
Definition at line 42 of file JDSymEigsBase.h.
|
protected |
Definition at line 46 of file JDSymEigsBase.h.
|
protected |
Definition at line 45 of file JDSymEigsBase.h.
|
protected |
Definition at line 49 of file JDSymEigsBase.h.
|
protected |
Definition at line 50 of file JDSymEigsBase.h.
|
protected |
Definition at line 44 of file JDSymEigsBase.h.