Ginkgo  Generated from pipelines/1478841010 branch based on develop. Ginkgo version 1.9.0
A numerical linear algebra library targeting many-core architectures
Public Member Functions | List of all members
gko::ScaledIdentityAddable Class Referenceabstract

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. More...

#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)
 Scales this and adds another scalar times the identity to it. More...
 

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: