Id_csp Derived Type

type, public, extends(abstract_linop_csp) :: Id_csp

Utility type to define the Identity operator. Note that the type-bound procedures for matvec and rmatvec do not have to be defined by the user.


Type-Bound Procedures

procedure, public, pass(self) :: matvec => id_matvec_csp

  • private subroutine id_matvec_csp(self, vec_in, vec_out)

    Arguments

    Type IntentOptional Attributes Name
    class(Id_csp), intent(in) :: self
    class(abstract_vector_csp), intent(in) :: vec_in
    class(abstract_vector_csp), intent(out) :: vec_out

procedure, public, pass(self) :: rmatvec => id_matvec_csp

  • private subroutine id_matvec_csp(self, vec_in, vec_out)

    Arguments

    Type IntentOptional Attributes Name
    class(Id_csp), intent(in) :: self
    class(abstract_vector_csp), intent(in) :: vec_in
    class(abstract_vector_csp), intent(out) :: vec_out