29#ifndef PRECONDITIONER_HPP
30#define PRECONDITIONER_HPP
45 [[nodiscard]]
virtual Col<data_t>
apply(
const Col<data_t>&) = 0;
50 [[nodiscard]] Col<data_t>
apply(
const Col<data_t>&)
override;
A Preconditioner class.
Definition: Preconditioner.hpp:34
virtual int init()
Definition: Preconditioner.hpp:43
Preconditioner(const Preconditioner &)=default
virtual Col< data_t > apply(const Col< data_t > &)=0
Preconditioner(Preconditioner &&) noexcept=default
Definition: Preconditioner.hpp:48
Col< data_t > apply(const Col< data_t > &) override
Definition: Preconditioner.hpp:53
constexpr auto SUANPAN_SUCCESS
Definition: suanPan.h:172