6#ifndef BiCGStabfabric_hh
7#define BiCGStabfabric_hh
11# define EPS DBL_EPSILON
14# define EPS std::numeric_limits<double>::epsilon()
26 template<
typename F,
typename G = F>
43 return new BiCGStab<F>(matrix, maxeps_, maxit_, relres_, throwing_);
51 virtual std::ostream&
info(std::ostream&
os)
const {
53 << maxit_ <<
", relres = " << relres_ <<
')';
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
BiCGStabFabric(Real maxeps=EPS, int maxit=0, bool relres=false, bool throwing=true)
virtual Operator< F > * operator()(Operator< F > &matrix, Operator< G > &precond)
virtual Operator< F > * operator()()
std::string typeOf(const T &t)
Set< F > makeSet(uint n, const F &first,...)