scaled_linop_cdp Derived Type

type, public, extends(abstract_linop_cdp) :: scaled_linop_cdp

Defines a scaled linear operator with a complex-valued operator and .


Components

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

Base linear operator to be scaled.

complex(kind=dp), public :: sigma

Scaling factor.


Type-Bound Procedures

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

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