![]() |
Ginkgo
Generated from pipelines/3133041809 branch based on develop. Ginkgo version 2.0.0
A numerical linear algebra library targeting many-core architectures
|
The allowed matrix::MultiVector<T> type to be used in scaling operations, e.g. More...
#include <ginkgo/core/base/multivector_mixin.hpp>
Public Types | |
| using | variant_type = std::variant< const matrix::MultiVector< ValueType > * > |
Public Attributes | |
| variant_type | variant |
| The scaling factor with one of the allowed precisions. | |
The allowed matrix::MultiVector<T> type to be used in scaling operations, e.g.
in scaled_add.
The stored pointer is never null, and it always points to a vector whose precision is one of the alternatives of variant_type, i.e. no further precision conversion is necessary. Implementations have to handle every alternative, for example by using std::visit.
| ValueType | The value type of the vector type on which to call the scaling operation |
1.8.16