29 namespace RemezRatApproxEnv
60 XMLReader paramtop(xml, path);
68 if (paramtop.count(
"digitPrecision") != 0)
102 QDPIO::cout <<
" Action Degree " <<
params.
degree << std::endl;
106 QDPIO::cerr <<
name <<
": invalid params" << std::endl;
111 QDPIO::cout <<
"Compute partial fraction expansion" << std::endl;
112 QDPIO::cout <<
"Numerator Power=" << power_num <<
" Denominator Power=" << power_den << std::endl;
119 QDPIO::cout <<
"Sign = +1" << std::endl;
127 QDPIO::cout <<
"Sign = -1" << std::endl;
Base class for rational approximations.
Remez type of rational approximations.
void operator()(RemezCoeff_t &pfe, RemezCoeff_t &ipfe) const
Produce the partial-fraction-expansion (PFE) and its inverse (IPFE)
Dummy class for case when gmp is not present.
RemezCoeff_t getPFE()
Return the partial fraction expansion of the approximation x^(pnum/pden)
RemezCoeff_t getIPFE()
Return the partial fraction expansion of the approximation x^(-pnum/pden)
const Real generateApprox(int num_degree, int den_degree, unsigned long power_num, unsigned long power_den)
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
RationalApprox * createApprox(XMLReader &xml_in, const std::string &path)
Callback function.
const std::string name
Name to be used.
bool registerAll()
Register all the factories.
static bool registered
Local registration flag.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
Rational approximation aggregator.
Rational approximation factories.
Redirector for Remez algorithm for finding nth roots.
Remez-type rational approximation.
Convenient structure to package Remez coeffs.
Params for Remez type rational approximation.
void writeXML(XMLWriter &in, const std::string &path) const
Parameters for running code.