ergo
boysfunction.cc File Reference
#include <stdlib.h>
#include <cmath>
#include "boysfunction.h"
#include "pi.h"
#include "output.h"
#include "polydegree.h"
#include "utilities.h"

Classes

struct  BoysFuncIntervalStruct
 

Macros

#define BOYS_N_MAX   (BASIS_FUNC_POLY_MAX_DEGREE*4+1)
 
#define BOYS_TAB_DEGREE   12
 
#define BOYS_X_MAX   160.0
 
#define BOYS_NO_OF_INTERVALS   200
 

Functions

static double semiFactorial (int n)
 
static ergo_real BoysFunction_raw_simpson (int n, ergo_real x)
 
int boysfunction_init (void)
 
static ergo_real BoysFunction_pretabulated (int n, ergo_real x)
 
ergo_real BoysFunction (int n, ergo_real x)
 

Variables

BoysFuncIntervalStruct global_Boys_list [BOYS_N_MAX][BOYS_NO_OF_INTERVALS]
 
int global_Boys_init_flag = 0
 

Macro Definition Documentation

#define BOYS_N_MAX   (BASIS_FUNC_POLY_MAX_DEGREE*4+1)
#define BOYS_NO_OF_INTERVALS   200
#define BOYS_TAB_DEGREE   12
#define BOYS_X_MAX   160.0

Function Documentation

static ergo_real BoysFunction_raw_simpson ( int  n,
ergo_real  x 
)
static

Referenced by boysfunction_init().

static double semiFactorial ( int  n)
static

Variable Documentation

int global_Boys_init_flag = 0