testSpecFunc.cxx File Reference

#include <iostream>
#include <iomanip>
#include <string>
#include <limits>
#include "Math/SpecFuncMathMore.h"
#include "Math/SpecFuncMathCore.h"

Go to the source code of this file.

Defines

#define PI   3.14159265358979323846264338328

Functions

int compare (const std::string &name, double v1, double v2, double scale=2.0)
int testSpecFunc ()
void getGSLErrors ()
int main ()


Define Documentation

#define PI   3.14159265358979323846264338328

Test file for the special functions implemented in MathMore. For the moment nothing exceptional. Evaluates the functions and checks if the value is right against values copied from the GSL tests.

Definition at line 50 of file testSpecFunc.cxx.


Function Documentation

int compare ( const std::string name,
double  v1,
double  v2,
double  scale = 2.0 
)

Definition at line 54 of file testSpecFunc.cxx.

References d, RootCsg::epsilon, int, and pr().

void getGSLErrors (  ) 

Definition at line 217 of file testSpecFunc.cxx.

References PI.

Referenced by main().

int main ( void   ) 

Definition at line 237 of file testSpecFunc.cxx.

References getGSLErrors(), and testSpecFunc().

int testSpecFunc (  ) 

Definition at line 110 of file testSpecFunc.cxx.

References ROOT::Math::airy_Ai(), ROOT::Math::airy_Ai_deriv(), ROOT::Math::airy_Bi(), ROOT::Math::airy_Bi_deriv(), ROOT::Math::airy_zero_Ai(), ROOT::Math::airy_zero_Ai_deriv(), ROOT::Math::airy_zero_Bi(), ROOT::Math::airy_zero_Bi_deriv(), ROOT::Math::assoc_laguerre(), ROOT::Math::assoc_legendre(), ROOT::Math::beta(), ROOT::Math::comp_ellint_1(), ROOT::Math::comp_ellint_2(), ROOT::Math::comp_ellint_3(), compare(), ROOT::Math::conf_hyperg(), ROOT::Math::cyl_bessel_i(), ROOT::Math::cyl_bessel_j(), ROOT::Math::cyl_bessel_k(), ROOT::Math::cyl_neumann(), ROOT::Math::ellint_1(), ROOT::Math::ellint_2(), ROOT::Math::ellint_3(), ROOT::Math::erf(), ROOT::Math::erfc(), ROOT::Math::expint(), ROOT::Math::hyperg(), ROOT::Math::inc_beta(), ROOT::Math::inc_gamma(), ROOT::Math::inc_gamma_c(), ROOT::Math::laguerre(), ROOT::Math::legendre(), ROOT::Math::lgamma(), PI, ROOT::Math::riemann_zeta(), ROOT::Math::sph_bessel(), ROOT::Math::sph_legendre(), ROOT::Math::sph_neumann(), and ROOT::Math::tgamma().

Referenced by main().


Generated on Tue Jul 5 16:07:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1