| 
    Bridge++
    Version 1.4.4
    
   | 
 
Determionation of coefficients of rational approximation. More...
#include <math_Rational.h>
Public Member Functions | |
| Math_Rational () | |
| void | set_parameters (const Parameters ¶ms) | 
| void | set_parameters (const int Np, const int n_exp, const int d_exp, const double x_min, const double x_max) | 
| void | get_parameters (double &norm, std::vector< double > &res, std::vector< double > &pole) | 
| void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) | 
| double | func (double x) | 
Static Public Attributes | |
| static const std::string | class_name = "Math_Rational" | 
Protected Attributes | |
| Bridge::VerboseLevel | m_vl | 
Private Member Functions | |
| void | set_coeff () | 
| void | read_file () | 
Private Attributes | |
| int | m_Np | 
| int | m_n_exp | 
| int | m_d_exp | 
| double | m_x_min | 
| double | m_x_max | 
| double | m_norm | 
| double | m_error | 
| std::vector< double > | m_res | 
| std::vector< double > | m_pole | 
Determionation of coefficients of rational approximation.
At present, the coefficients are determined outside this code system and save to a file. At present, this class just read these data from a file to set the coefficients, as temporary implementation. In future, self-calculation should be implemented. 28 Dec 2011 H.Matsufuru YAML is implemented. [14 Nov 2012 Y.Namekawa]
Definition at line 41 of file math_Rational.h.
      
  | 
  inline | 
Definition at line 57 of file math_Rational.h.
| double Math_Rational::func | ( | double | x | ) | 
Definition at line 180 of file math_Rational.cpp.
| void Math_Rational::get_parameters | ( | double & | norm, | 
| std::vector< double > & | res, | ||
| std::vector< double > & | pole | ||
| ) | 
Definition at line 87 of file math_Rational.cpp.
      
  | 
  private | 
Definition at line 116 of file math_Rational.cpp.
      
  | 
  private | 
Definition at line 109 of file math_Rational.cpp.
      
  | 
  inline | 
Definition at line 67 of file math_Rational.h.
| void Math_Rational::set_parameters | ( | const Parameters & | params | ) | 
Definition at line 21 of file math_Rational.cpp.
| void Math_Rational::set_parameters | ( | const int | Np, | 
| const int | n_exp, | ||
| const int | d_exp, | ||
| const double | x_min, | ||
| const double | x_max | ||
| ) | 
Definition at line 48 of file math_Rational.cpp.
      
  | 
  static | 
Definition at line 44 of file math_Rational.h.
      
  | 
  private | 
Definition at line 50 of file math_Rational.h.
      
  | 
  private | 
Definition at line 52 of file math_Rational.h.
      
  | 
  private | 
Definition at line 50 of file math_Rational.h.
      
  | 
  private | 
Definition at line 52 of file math_Rational.h.
      
  | 
  private | 
Definition at line 50 of file math_Rational.h.
      
  | 
  private | 
Definition at line 54 of file math_Rational.h.
      
  | 
  private | 
Definition at line 53 of file math_Rational.h.
      
  | 
  protected | 
Definition at line 47 of file math_Rational.h.
      
  | 
  private | 
Definition at line 51 of file math_Rational.h.
      
  | 
  private | 
Definition at line 51 of file math_Rational.h.