Class xlifepp::ARInterfaceStdShf#

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

Inheritence diagram for xlifepp::ARInterfaceStdShf:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="xlifepp::ARInterface< K_, MA_ >" tooltip="xlifepp::ARInterface< K_, MA_ >"] "1" [label="xlifepp::ARInterfaceStdShf< K_, MA_ >" tooltip="xlifepp::ARInterfaceStdShf< K_, MA_ >" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::ARInterfaceStdShf:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "8" [label="xlifepp::FactPtrTrait< MA_ >" tooltip="xlifepp::FactPtrTrait< MA_ >"] "10" [label="xlifepp::SolverPtrTrait< K_, MA_ >" tooltip="xlifepp::SolverPtrTrait< K_, MA_ >"] "4" [label="std::basic_string< char >" tooltip="std::basic_string< char >"] "5" [label="std::basic_string< Char >" tooltip="std::basic_string< Char >"] "3" [label="std::string" tooltip="std::string"] "7" [label="std::vector< T >" tooltip="std::vector< T >"] "6" [label="std::vector< K_ >" tooltip="std::vector< K_ >"] "2" [label="xlifepp::ARInterface< K_, MA_ >" tooltip="xlifepp::ARInterface< K_, MA_ >"] "1" [label="xlifepp::ARInterfaceStdShf< K_, MA_ >" tooltip="xlifepp::ARInterfaceStdShf< K_, MA_ >" fillcolor="#BFBFBF"] "9" [label="xlifepp::FactPtrTrait< M_ >" tooltip="xlifepp::FactPtrTrait< M_ >"] "11" [label="xlifepp::SolverPtrTrait< K_, M_ >" tooltip="xlifepp::SolverPtrTrait< K_, M_ >"] "8" -> "9" [dir=forward tooltip="template-instance"] "10" -> "11" [dir=forward tooltip="template-instance"] "4" -> "5" [dir=forward tooltip="template-instance"] "3" -> "4" [dir=forward tooltip="public-inheritance"] "6" -> "7" [dir=forward tooltip="template-instance"] "2" -> "3" [dir=forward tooltip="usage"] "2" -> "6" [dir=forward tooltip="usage"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "1" -> "8" [dir=forward tooltip="usage"] "1" -> "10" [dir=forward tooltip="usage"] }

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