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)
static const double 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.
void sort_ritzpair(int sort_rule)
Eigen::Array< Complex, Eigen::Dynamic, 1 > ComplexArray