Class xlifepp::ARInterfaceGenShf#

template<class K_, class MA_, class MB_>
class ARInterfaceGenShf : public xlifepp::ARInterfaceGen<K_, MA_, MB_>#

Class for generalized eigenvalue problem in shift and invert mode Real symmetric, real non symmetric and complex cases.

Here, A and sigma have the same type. The special case real non symmetric with complex sigma is treated in class ARInterfaceGenCsh. Matrix-vector products provided: y <- inv(A-sigma B)*x and y <- B * x

Public Functions

ARInterfaceGenShf(const MA_ &matA, const MB_ &matB, const K_ sigma)#

A_B_s constructor B symmetric positive semi-definite.

ARInterfaceGenShf(const MB_ &matB, const MA_ &matAsB)#

B_AsB constructor The input matrix matAsB corresponds to A-sigma*B and must be provided by the user.

~ARInterfaceGenShf()#

destructor

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

matrix-vector product y <- inv(A-sigma B)*x