Ginkgo
Generated from pipelines/1554403166 branch based on develop. Ginkgo version 1.9.0
A numerical linear algebra library targeting many-core architectures
|
The AbsoluteComputable is an interface that allows to get the component wise absolute of a LinOp. More...
#include <ginkgo/core/base/lin_op.hpp>
Public Member Functions | |
virtual std::unique_ptr< LinOp > | compute_absolute_linop () const =0 |
Gets the absolute LinOp. More... | |
virtual void | compute_absolute_inplace ()=0 |
Compute absolute inplace on each element. | |
The AbsoluteComputable is an interface that allows to get the component wise absolute of a LinOp.
Use EnableAbsoluteComputation<AbsoluteLinOp> to implement this interface.
|
pure virtual |
Gets the absolute LinOp.
Implemented in gko::EnableAbsoluteComputation< AbsoluteLinOp >, gko::EnableAbsoluteComputation< remove_complex< Hybrid< ValueType, IndexType > > >, gko::EnableAbsoluteComputation< remove_complex< Sellp< ValueType, IndexType > > >, gko::EnableAbsoluteComputation< remove_complex< Dense< ValueType > > >, gko::EnableAbsoluteComputation< remove_complex< Coo< ValueType, IndexType > > >, gko::EnableAbsoluteComputation< remove_complex< Diagonal< ValueType > > >, gko::EnableAbsoluteComputation< remove_complex< Vector< ValueType > > >, gko::EnableAbsoluteComputation< remove_complex< Fbcsr< ValueType, IndexType > > >, gko::EnableAbsoluteComputation< remove_complex< Csr< ValueType, IndexType > > >, and gko::EnableAbsoluteComputation< remove_complex< Ell< ValueType, IndexType > > >.