Ginkgo: gko::ScaledIdentityAddable Class Reference

| Ginkgo Generated from branch based on main. Ginkgo version 1.11.0 A numerical linear algebra library targeting many-core architectures

Loading...
Searching...
No Matches
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.

## 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

  a | Scalar to multiply the identity operator before adding.
  b | Scalar to multiply this before adding the scaled identity to it.

References gko::as(), and gko::make_temporary_clone().

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

- ginkgo/core/base/lin_op.hpp