#include <DenseSymShiftSolve.h>
Public Member Functions | |
Index | cols () const |
DenseSymShiftSolve (ConstGenericMatrix &mat) | |
void | perform_op (const Scalar *x_in, Scalar *y_out) const |
Index | rows () const |
void | set_shift (Scalar sigma) |
Private Types | |
typedef const Eigen::Ref< const Matrix > | ConstGenericMatrix |
typedef Eigen::Index | Index |
typedef Eigen::Map< const Vector > | MapConstVec |
typedef Eigen::Map< Vector > | MapVec |
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > | Matrix |
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > | Vector |
Private Attributes | |
ConstGenericMatrix | m_mat |
const int | m_n |
BKLDLT< Scalar > | m_solver |
This class defines the shift-solve operation on a real symmetric matrix , i.e., calculating for any real and vector . It is mainly used in the SymEigsShiftSolver eigen solver.
Definition at line 26 of file DenseSymShiftSolve.h.
|
private |
Definition at line 34 of file DenseSymShiftSolve.h.
|
private |
Definition at line 29 of file DenseSymShiftSolve.h.
|
private |
Definition at line 32 of file DenseSymShiftSolve.h.
|
private |
Definition at line 33 of file DenseSymShiftSolve.h.
|
private |
Definition at line 30 of file DenseSymShiftSolve.h.
|
private |
Definition at line 31 of file DenseSymShiftSolve.h.
|
inline |
Constructor to create the matrix operation object.
mat | An Eigen matrix object, whose type can be Eigen::Matrix<Scalar, ...> (e.g. Eigen::MatrixXd and Eigen::MatrixXf ), or its mapped version (e.g. Eigen::Map<Eigen::MatrixXd> ). |
Definition at line 49 of file DenseSymShiftSolve.h.
|
inline |
Return the number of columns of the underlying matrix.
Definition at line 63 of file DenseSymShiftSolve.h.
|
inline |
Perform the shift-solve operation .
x_in | Pointer to the vector. |
y_out | Pointer to the vector. |
Definition at line 82 of file DenseSymShiftSolve.h.
|
inline |
Return the number of rows of the underlying matrix.
Definition at line 59 of file DenseSymShiftSolve.h.
|
inline |
Set the real shift .
Definition at line 68 of file DenseSymShiftSolve.h.
|
private |
Definition at line 36 of file DenseSymShiftSolve.h.
|
private |
Definition at line 37 of file DenseSymShiftSolve.h.
|
private |
Definition at line 38 of file DenseSymShiftSolve.h.