Bridge++  Version 1.4.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Math_Sign_Zolotarev Class Reference

Determination of Zolotarev coefficients. More...

#include <math_Sign_Zolotarev.h>

Public Member Functions

 Math_Sign_Zolotarev (int Np, double bmax)
 
void get_sign_parameters (std::vector< double > &cl, std::vector< double > &bl)
 
double sign (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 (double bmax, double &UK)
 
void Jacobi_elliptic (double uu, 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
 

Detailed Description

Determination of Zolotarev coefficients.

This class determines the Zolotarev's optimal coefficients of partial fractional approximation to 1/sqrt(x). Present implementation makes use of the code in Numerical Recipes, and thus cannot be put public. To be replaced with public implementation. [28 Dec 2011 H.Matsufuru]

Definition at line 37 of file math_Sign_Zolotarev.h.

Constructor & Destructor Documentation

Math_Sign_Zolotarev::Math_Sign_Zolotarev ( int  Np,
double  bmax 
)
inline

Definition at line 52 of file math_Sign_Zolotarev.h.

Member Function Documentation

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.

void Math_Sign_Zolotarev::Jacobi_elliptic ( double  uu,
double  emmc,
double &  sn,
double &  cn,
double &  dn 
)
private

Definition at line 195 of file math_Sign_Zolotarev.cpp.

void Math_Sign_Zolotarev::poly_Zolotarev ( double  bmax,
double &  UK 
)
private

Definition at line 87 of file math_Sign_Zolotarev.cpp.

void Math_Sign_Zolotarev::set_sign_parameters ( )
private

Definition at line 51 of file math_Sign_Zolotarev.cpp.

double Math_Sign_Zolotarev::sign ( double  x)

Definition at line 71 of file math_Sign_Zolotarev.cpp.

Member Data Documentation

const std::string Math_Sign_Zolotarev::class_name = "Math_Sign_Zolotarev"
static

Definition at line 40 of file math_Sign_Zolotarev.h.

std::vector<double> Math_Sign_Zolotarev::m_bl
private

Definition at line 49 of file math_Sign_Zolotarev.h.

double Math_Sign_Zolotarev::m_bmax
private

Definition at line 47 of file math_Sign_Zolotarev.h.

std::vector<double> Math_Sign_Zolotarev::m_cl
private

Definition at line 48 of file math_Sign_Zolotarev.h.

int Math_Sign_Zolotarev::m_Np
private

Definition at line 46 of file math_Sign_Zolotarev.h.

Bridge::VerboseLevel Math_Sign_Zolotarev::m_vl
protected

Definition at line 43 of file math_Sign_Zolotarev.h.


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