scaled_linop_rdp Derived Type

type, public, extends(abstract_linop_rdp) :: scaled_linop_rdp

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_rdp), public, allocatable :: A

Base linear operator to be scaled.

real(kind=dp), public :: sigma

Scaling factor.


Type-Bound Procedures

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

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