Bridge++
Ver. 2.0.2
|
Determination of Zolotarev coefficients. More...
#include <math_Sign_Zolotarev.h>
Public Member Functions | |
Math_Sign_Zolotarev (const int Np, const double bmax) | |
void | get_sign_parameters (std::vector< double > &cl, std::vector< double > &bl) |
double | sign (const double x) |
Static Public Attributes | |
static const std::string | class_name = "Math_Sign_Zolotarev" |
Protected Attributes | |
Bridge::VerboseLevel | m_vl |
Private Member Functions | |
void | set_sign_parameters () |
void | poly_Zolotarev (const double bmax, double &UK) |
void | Jacobi_elliptic (const double uu, const double emmc, double &sn, double &cn, double &dn) |
Private Attributes | |
int | m_Np |
double | m_bmax |
std::vector< double > | m_cl |
std::vector< double > | m_bl |
Determination of Zolotarev coefficients.
This class determines the Zolotarev's optimal coefficients of partial fractional approximation to 1/sqrt(x). The present implementation makes use of the code in Numerical Recipes, and thus cannot be public. To be replaced. [28 Dec 2011 H.Matsufuru] Replaced with a GSL based code. [19 Jun 2013 S.Ueda]
Definition at line 36 of file math_Sign_Zolotarev.h.
|
inline |
Definition at line 51 of file math_Sign_Zolotarev.h.
void Math_Sign_Zolotarev::get_sign_parameters | ( | std::vector< double > & | cl, |
std::vector< double > & | bl | ||
) |
Definition at line 25 of file math_Sign_Zolotarev.cpp.
|
private |
Definition at line 195 of file math_Sign_Zolotarev.cpp.
|
private |
Definition at line 87 of file math_Sign_Zolotarev.cpp.
|
private |
Definition at line 51 of file math_Sign_Zolotarev.cpp.
double Math_Sign_Zolotarev::sign | ( | const double | x | ) |
Definition at line 71 of file math_Sign_Zolotarev.cpp.
|
static |
Definition at line 39 of file math_Sign_Zolotarev.h.
|
private |
Definition at line 48 of file math_Sign_Zolotarev.h.
|
private |
Definition at line 46 of file math_Sign_Zolotarev.h.
|
private |
Definition at line 47 of file math_Sign_Zolotarev.h.
|
private |
Definition at line 45 of file math_Sign_Zolotarev.h.
|
protected |
Definition at line 42 of file math_Sign_Zolotarev.h.