CHROMA
Public Member Functions | List of all members

Dummy class for case when gmp is not present. More...

#include <remez_stub.h>

Public Member Functions

 RemezStub (const Real &lower, const Real &upper, long prec)
 
 ~RemezStub ()
 
void setBounds (const Real &lower, const Real &upper)
 
const Real generateApprox (int num_degree, int den_degree, unsigned long power_num, unsigned long power_den)
 
const Real generateApprox (int degree, unsigned long power_num, unsigned long power_den)
 
RemezCoeff_t getPFE ()
 Return the partial fraction expansion of the approximation x^(pnum/pden) More...
 
RemezCoeff_t getIPFE ()
 Return the partial fraction expansion of the approximation x^(-pnum/pden) More...
 
Real evalPFE (const Real &x, const RemezCoeff_t &coeff)
 Given a partial fraction expansion, evaluate it at x. More...
 

Detailed Description

Dummy class for case when gmp is not present.

Definition at line 19 of file remez_stub.h.

Constructor & Destructor Documentation

◆ RemezStub()

Chroma::RemezStub::RemezStub ( const Real &  lower,
const Real &  upper,
long  prec 
)
inline

Definition at line 22 of file remez_stub.h.

◆ ~RemezStub()

Chroma::RemezStub::~RemezStub ( )
inline

Definition at line 27 of file remez_stub.h.

Member Function Documentation

◆ evalPFE()

Real Chroma::RemezStub::evalPFE ( const Real &  x,
const RemezCoeff_t coeff 
)
inline

Given a partial fraction expansion, evaluate it at x.

Definition at line 49 of file remez_stub.h.

References Chroma::QDP_error_exit().

◆ generateApprox() [1/2]

const Real Chroma::RemezStub::generateApprox ( int  degree,
unsigned long  power_num,
unsigned long  power_den 
)
inline

Definition at line 31 of file remez_stub.h.

◆ generateApprox() [2/2]

const Real Chroma::RemezStub::generateApprox ( int  num_degree,
int  den_degree,
unsigned long  power_num,
unsigned long  power_den 
)
inline

Definition at line 29 of file remez_stub.h.

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

◆ getIPFE()

RemezCoeff_t Chroma::RemezStub::getIPFE ( )
inline

Return the partial fraction expansion of the approximation x^(-pnum/pden)

Definition at line 42 of file remez_stub.h.

References Chroma::QDP_error_exit().

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

◆ getPFE()

RemezCoeff_t Chroma::RemezStub::getPFE ( )
inline

Return the partial fraction expansion of the approximation x^(pnum/pden)

Definition at line 35 of file remez_stub.h.

References Chroma::QDP_error_exit().

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

◆ setBounds()

void Chroma::RemezStub::setBounds ( const Real &  lower,
const Real &  upper 
)
inline

Definition at line 28 of file remez_stub.h.


The documentation for this class was generated from the following file: