#include <DenseGenRealShiftSolve.h>
| Public Types | |
| using | Scalar = Scalar_ | 
| Public Member Functions | |
| Index | cols () const | 
| template<typename Derived > | |
| DenseGenRealShiftSolve (const Eigen::MatrixBase< Derived > &mat) | |
| void | perform_op (const Scalar *x_in, Scalar *y_out) const | 
| Index | rows () const | 
| void | set_shift (const Scalar &sigma) | 
| Private Types | |
| using | ConstGenericMatrix = const Eigen::Ref< const Matrix > | 
| using | Index = Eigen::Index | 
| using | MapConstVec = Eigen::Map< const Vector > | 
| using | MapVec = Eigen::Map< Vector > | 
| using | Matrix = Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic, Flags > | 
| using | Vector = Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > | 
| Private Attributes | |
| 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
, i.e., calculating  for any real
 for any real  and vector
 and vector  . It is mainly used in the GenEigsRealShiftSolver eigen solver.
. It is mainly used in the GenEigsRealShiftSolver eigen solver.
| Scalar_ | The element type of the matrix, for example, float,double, andlong double. | 
| Flags | Either Eigen::ColMajororEigen::RowMajor, indicating the storage format of the input matrix. | 
Definition at line 29 of file DenseGenRealShiftSolve.h.
| 
 | private | 
Definition at line 43 of file DenseGenRealShiftSolve.h.
| 
 | private | 
Definition at line 38 of file DenseGenRealShiftSolve.h.
| 
 | private | 
Definition at line 41 of file DenseGenRealShiftSolve.h.
| 
 | private | 
Definition at line 42 of file DenseGenRealShiftSolve.h.
| 
 | private | 
Definition at line 39 of file DenseGenRealShiftSolve.h.
| using Spectra::DenseGenRealShiftSolve< Scalar_, Flags >::Scalar = Scalar_ | 
Element type of the matrix.
Definition at line 35 of file DenseGenRealShiftSolve.h.
| 
 | private | 
Definition at line 40 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::MatrixXdandEigen::MatrixXf), or its mapped version (e.g.Eigen::Map<Eigen::MatrixXd>). | 
Definition at line 59 of file DenseGenRealShiftSolve.h.
| 
 | inline | 
Return the number of columns of the underlying matrix.
Definition at line 77 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 94 of file DenseGenRealShiftSolve.h.
| 
 | inline | 
Return the number of rows of the underlying matrix.
Definition at line 73 of file DenseGenRealShiftSolve.h.
| 
 | inline | 
Set the real shift  .
. 
Definition at line 82 of file DenseGenRealShiftSolve.h.
| 
 | private | 
Definition at line 45 of file DenseGenRealShiftSolve.h.
| 
 | private | 
Definition at line 46 of file DenseGenRealShiftSolve.h.
| 
 | private | 
Definition at line 47 of file DenseGenRealShiftSolve.h.