scaled_linop_rsp Derived Type

type, public, extends(abstract_linop_rsp) :: scaled_linop_rsp

Defines a scaled linear operator with a real-valued operator and . The definitions of matvec and rmatvec are directly inherited from those used to define A and do not have to be defined by the user.


Components

Type Visibility Attributes Name Initial
class(abstract_linop_rsp), public, allocatable :: A

Base linear operator to be scaled.

real(kind=sp), public :: sigma

Scaling factor.


Type-Bound Procedures

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

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