Ginkgo
Generated from pipelines/1556235455 branch based on develop. Ginkgo version 1.9.0
A numerical linear algebra library targeting many-core architectures
|
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>
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... | |
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.
|
inline |
Scales this and adds another scalar times the identity to it.
a | Scalar to multiply the identity operator before adding. |
b | Scalar to multiply this before adding the scaled identity to it. |
References gko::make_temporary_clone().