abstract_linop_rdp Derived Type

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

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


Type-Bound Procedures

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

Procedure to compute the matrix-vector product .

  • subroutine abstract_matvec_rdp(self, vec_in, vec_out) Prototype

    Interface for the matrix-vector product.

    Arguments

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

    Linear operator .

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

    Vector to be multiplied by .

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

    Result of the matrix-vector product.

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

Procedure to compute the reversed matrix-vector product .

  • subroutine abstract_matvec_rdp(self, vec_in, vec_out) Prototype

    Interface for the matrix-vector product.

    Arguments

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

    Linear operator .

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

    Vector to be multiplied by .

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

    Result of the matrix-vector product.