ScaledIdentityAddable Class Reference#
|
Reference API
|
gko::ScaledIdentityAddable Class Referenceabstract
#include <ginkgo/core/base/lin_op.hpp>
Inheritance diagram for gko::ScaledIdentityAddable:
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()
|
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::make_temporary_clone().
The documentation for this class was generated from the following file:
- ginkgo/core/base/lin_op.hpp
Generated by