Ginkgo
Generated from pipelines/1330831941 branch based on master. Ginkgo version 1.8.0
A numerical linear algebra library targeting many-core architectures
|
The UseComposition class can be used to store the composition information in LinOp. More...
#include <ginkgo/core/base/composition.hpp>
Public Types | |
using | value_type = ValueType |
Public Member Functions | |
std::shared_ptr< Composition< ValueType > > | get_composition () const |
Returns the composition operators. More... | |
std::shared_ptr< const LinOp > | get_operator_at (size_type index) const |
Returns the operator at index-th position of composition. More... | |
The UseComposition class can be used to store the composition information in LinOp.
ValueType | precision of input and result vectors |
|
inline |
Returns the composition operators.
|
inline |
Returns the operator at index-th position of composition.
std::out_of_range | if index is out of bound when composition is existed. |
Referenced by gko::multigrid::EnableMultigridLevel< ValueType >::get_coarse_op(), gko::multigrid::EnableMultigridLevel< ValueType >::get_prolong_op(), and gko::multigrid::EnableMultigridLevel< ValueType >::get_restrict_op().