Class xlifepp::ARInterfaceGenCsh#

template<class MAB_, class MAsB_>
class ARInterfaceGenCsh : public xlifepp::ARInterfaceGen<real_t, MAB_, MAB_>#

Class for generalized eigenvalue problem in complex shift and invert mode Real non symmetric case with complex shift.

Matrix-vector products provided: y <- Re/Im{inv(A-sigma B)}*x, y <- A * x and y <- B * x

Public Functions

ARInterfaceGenCsh(const MAB_ &matA, const MAB_ &matB, const char part, const real_t sigmaR, const real_t sigmaI)#

A_B_p_sr_si constructor A real non symmetric B symmetric positive semi-definite.

~ARInterfaceGenCsh()#

destructor

void MultAx(real_t *x, real_t *y)#

matrix-vector product y <- A * x

virtual void MultOPx(real_t *x, real_t *y)#

matrix-vector product y <- real{inv(A-sigma B)} * x if part = ‘R’ y <- imag{inv(A-sigma B)} * x if part = ‘I’ The system is solved in complex arithmetic.