#include <SymGEigsShiftInvertOp.h>
Public Types | |
| using | Scalar = typename OpType::Scalar |
Public Member Functions | |
| Index | cols () const |
| void | perform_op (const Scalar *x_in, Scalar *y_out) const |
| Index | rows () const |
| void | set_shift (const Scalar &sigma) |
| SymGEigsShiftInvertOp (OpType &op, const BOpType &Bop) | |
| SymGEigsShiftInvertOp (SymGEigsShiftInvertOp &&other) | |
Private Types | |
| using | Index = Eigen::Index |
| using | Vector = Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > |
Private Attributes | |
| const BOpType & | m_Bop |
| Vector | m_cache |
| OpType & | m_op |
This class defines the matrix operation for generalized eigen solver in the shift-and-invert mode. It computes
for any vector
, where
is a symmetric matrix,
is positive definite, and
is a real shift. This class is intended for internal use.
Definition at line 28 of file SymGEigsShiftInvertOp.h.
|
private |
Definition at line 34 of file SymGEigsShiftInvertOp.h.
| using Spectra::SymGEigsShiftInvertOp< OpType, BOpType >::Scalar = typename OpType::Scalar |
Definition at line 31 of file SymGEigsShiftInvertOp.h.
|
private |
Definition at line 35 of file SymGEigsShiftInvertOp.h.
|
inline |
Constructor to create the matrix operation object.
| op | The matrix operation object. |
| Bop | The matrix operation object. |
Definition at line 48 of file SymGEigsShiftInvertOp.h.
|
inline |
Move constructor.
Definition at line 55 of file SymGEigsShiftInvertOp.h.
|
inline |
Return the number of columns of the underlying matrix.
Definition at line 69 of file SymGEigsShiftInvertOp.h.
|
inline |
Perform the matrix operation
.
| x_in | Pointer to the vector. |
| y_out | Pointer to the vector. |
Definition at line 86 of file SymGEigsShiftInvertOp.h.
|
inline |
Return the number of rows of the underlying matrix.
Definition at line 65 of file SymGEigsShiftInvertOp.h.
|
inline |
Set the real shift
.
Definition at line 74 of file SymGEigsShiftInvertOp.h.
|
private |
Definition at line 38 of file SymGEigsShiftInvertOp.h.
|
mutableprivate |
Definition at line 39 of file SymGEigsShiftInvertOp.h.
|
private |
Definition at line 37 of file SymGEigsShiftInvertOp.h.