CHROMA
Public Member Functions | Public Attributes | List of all members

Params for Remez type rational approximation. More...

#include <remez_rat_approx.h>

Public Member Functions

 Params ()
 
 Params (XMLReader &in, const std::string &path)
 Parameters for running code. More...
 
void writeXML (XMLWriter &in, const std::string &path) const
 Parameters for running code. More...
 

Public Attributes

int numPower
 
int denPower
 
Real lowerMin
 
Real upperMax
 
int degree
 
int digitPrecision
 

Detailed Description

Params for Remez type rational approximation.

Definition at line 22 of file remez_rat_approx.h.

Constructor & Destructor Documentation

◆ Params() [1/2]

Chroma::RemezRatApproxEnv::Params::Params ( )
inline

Definition at line 24 of file remez_rat_approx.h.

◆ Params() [2/2]

Chroma::RemezRatApproxEnv::Params::Params ( XMLReader &  in,
const std::string &  path 
)

Parameters for running code.

Definition at line 58 of file remez_rat_approx.cc.

References degree, denPower, digitPrecision, lowerMin, numPower, Chroma::read(), and upperMax.

Member Function Documentation

◆ writeXML()

void Chroma::RemezRatApproxEnv::Params::writeXML ( XMLWriter &  in,
const std::string &  path 
) const

Parameters for running code.

Definition at line 76 of file remez_rat_approx.cc.

References degree, denPower, digitPrecision, lowerMin, Chroma::RemezRatApproxEnv::name, numPower, Chroma::pop(), Chroma::push(), upperMax, and Chroma::write().

Referenced by Chroma::write().

Member Data Documentation

◆ degree

int Chroma::RemezRatApproxEnv::Params::degree

degree of approximation

Definition at line 32 of file remez_rat_approx.h.

Referenced by Chroma::RemezRatApproxEnv::RatApprox::operator()(), Params(), and writeXML().

◆ denPower

int Chroma::RemezRatApproxEnv::Params::denPower

Approximate x^-(numPower/denPower)

Definition at line 29 of file remez_rat_approx.h.

Referenced by Chroma::RemezRatApproxEnv::RatApprox::operator()(), Params(), and writeXML().

◆ digitPrecision

int Chroma::RemezRatApproxEnv::Params::digitPrecision

number of digits used for bigfloat calcs

Definition at line 33 of file remez_rat_approx.h.

Referenced by Chroma::RemezRatApproxEnv::RatApprox::operator()(), Params(), and writeXML().

◆ lowerMin

Real Chroma::RemezRatApproxEnv::Params::lowerMin

lower bound of approximation region

Definition at line 30 of file remez_rat_approx.h.

Referenced by Chroma::RemezRatApproxEnv::RatApprox::operator()(), Params(), and writeXML().

◆ numPower

int Chroma::RemezRatApproxEnv::Params::numPower

Approximate x^-(numPower/denPower)

Definition at line 28 of file remez_rat_approx.h.

Referenced by Chroma::RemezRatApproxEnv::RatApprox::operator()(), Params(), and writeXML().

◆ upperMax

Real Chroma::RemezRatApproxEnv::Params::upperMax

upper bound of approximation region

Definition at line 31 of file remez_rat_approx.h.

Referenced by Chroma::RemezRatApproxEnv::RatApprox::operator()(), Params(), and writeXML().


The documentation for this struct was generated from the following files: