ScaledIdentityAddable Class Reference

ScaledIdentityAddable Class Reference#

Reference API: gko::ScaledIdentityAddable Class Reference
Reference API
gko::ScaledIdentityAddable Class Referenceabstract

#include <ginkgo/core/base/lin_op.hpp>

Inheritance diagram for gko::ScaledIdentityAddable:
[legend]

Public Member Functions

void add_scaled_identity (ptr_param< const LinOp > const a, ptr_param< const LinOp > const b)
 

Detailed Description

Adds the operation M <- a I + b M for matrix M, identity operator I and scalars a and b, where M is the calling object.

Member Function Documentation

◆ add_scaled_identity()

void gko::ScaledIdentityAddable::add_scaled_identity ( ptr_param< const LinOp > const  a,
ptr_param< const LinOp > const  b 
)
inline

Scales this and adds another scalar times the identity to it.

Parameters
aScalar to multiply the identity operator before adding.
bScalar to multiply this before adding the scaled identity to it.

References gko::make_temporary_clone().


The documentation for this class was generated from the following file: