7 #ifndef GEN_EIGS_REAL_SHIFT_SOLVER_H 8 #define GEN_EIGS_REAL_SHIFT_SOLVER_H 38 template <
typename Scalar = double,
40 typename OpType = DenseGenRealShiftSolve<double> >
83 this->
m_op->set_shift(m_sigma);
89 #endif // GEN_EIGS_REAL_SHIFT_SOLVER_H
std::complex< Scalar > Complex
GenEigsRealShiftSolver(OpType *op, Index nev, Index ncv, Scalar sigma)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
virtual void sort_ritzpair(int sort_rule)
General-purpose arrays with easy API for coefficient-wise operations.
static const double sigma
void sort_ritzpair(int sort_rule)
Eigen::Array< Complex, Eigen::Dynamic, 1 > ComplexArray