abstract_linop_rsp Derived Type

type, public, abstract, extends(abstract_linop) :: abstract_linop_rsp

Base type to extend in order to define a real(sp)-valued linear operator.


Type-Bound Procedures

procedure(abstract_matvec_rsp), public, deferred, pass(self) :: matvec

Procedure to compute the matrix-vector product .

  • subroutine abstract_matvec_rsp(self, vec_in, vec_out) Prototype

    Interface for the matrix-vector product.

    Arguments

    Type IntentOptional Attributes Name
    class(abstract_linop_rsp), intent(in) :: self

    Linear operator .

    class(abstract_vector_rsp), intent(in) :: vec_in

    Vector to be multiplied by .

    class(abstract_vector_rsp), intent(out) :: vec_out

    Result of the matrix-vector product.

procedure(abstract_matvec_rsp), public, deferred, pass(self) :: rmatvec

Procedure to compute the reversed matrix-vector product .

  • subroutine abstract_matvec_rsp(self, vec_in, vec_out) Prototype

    Interface for the matrix-vector product.

    Arguments

    Type IntentOptional Attributes Name
    class(abstract_linop_rsp), intent(in) :: self

    Linear operator .

    class(abstract_vector_rsp), intent(in) :: vec_in

    Vector to be multiplied by .

    class(abstract_vector_rsp), intent(out) :: vec_out

    Result of the matrix-vector product.