#include <DenseGenRealShiftSolve.h>
Public Member Functions | |
Index | cols () const |
DenseGenRealShiftSolve (ConstGenericMatrix &mat) | |
void | perform_op (const Scalar *x_in, Scalar *y_out) const |
Index | rows () const |
void | set_shift (Scalar sigma) |
Private Types | |
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 | |
const typedef Eigen::Ref< const Matrix > | ConstGenericMatrix |
ConstGenericMatrix | m_mat |
const Index | m_n |
Eigen::PartialPivLU< Matrix > | m_solver |
This class defines the shift-solve operation on a general real matrix , i.e., calculating for any real and vector . It is mainly used in the GenEigsRealShiftSolver eigen solver.
Definition at line 24 of file DenseGenRealShiftSolve.h.
|
private |
Definition at line 27 of file DenseGenRealShiftSolve.h.
|
private |
Definition at line 30 of file DenseGenRealShiftSolve.h.
|
private |
Definition at line 31 of file DenseGenRealShiftSolve.h.
|
private |
Definition at line 28 of file DenseGenRealShiftSolve.h.
|
private |
Definition at line 29 of file DenseGenRealShiftSolve.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 47 of file DenseGenRealShiftSolve.h.
|
inline |
Return the number of columns of the underlying matrix.
Definition at line 61 of file DenseGenRealShiftSolve.h.
|
inline |
Perform the shift-solve operation .
x_in | Pointer to the vector. |
y_out | Pointer to the vector. |
Definition at line 78 of file DenseGenRealShiftSolve.h.
|
inline |
Return the number of rows of the underlying matrix.
Definition at line 57 of file DenseGenRealShiftSolve.h.
|
inline |
Set the real shift .
Definition at line 66 of file DenseGenRealShiftSolve.h.
|
private |
Definition at line 32 of file DenseGenRealShiftSolve.h.
|
private |
Definition at line 34 of file DenseGenRealShiftSolve.h.
|
private |
Definition at line 35 of file DenseGenRealShiftSolve.h.
|
private |
Definition at line 36 of file DenseGenRealShiftSolve.h.