Class xlifepp::ARInterfaceStdShf#

template<class K_, class MA_>
class ARInterfaceStdShf : public xlifepp::ARInterface<K_, MA_>#

Class for standard eigenvalue problem in shift and invert mode Matrix-vector product provided: y <- inv(A-sigma*Id) * x.

Public Functions

ARInterfaceStdShf(const MA_ &matA, const K_ sigma)#

A_s constructor for standard problem in shift and invert mode.

sigma is the shift. The matrix A-sigma*Id is computed internally and stored.

ARInterfaceStdShf(const MA_ &matAsI)#

AsI constructor for standard problem in shift and invert mode.

The input matrix matAsI corresponds to A-sigma*Id and must be provided by the user.

~ARInterfaceStdShf()#

destructor

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

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