(git:26ffdda)
Loading...
Searching...
No Matches
grpp_specfunc_gfun.c File Reference
#include <math.h>
#include <string.h>
#include "grpp_factorial.h"
#include "grpp_specfunc.h"

Go to the source code of this file.

Macros

#define M_PI   3.1415926535897932384626433

Functions

static double gfun_taylor (int n, double x)
void libgrpp_gfun_values (double x, int nmax, double *g)

Macro Definition Documentation

◆ M_PI

#define M_PI   3.1415926535897932384626433

Definition at line 33 of file grpp_specfunc_gfun.c.

Function Documentation

◆ gfun_taylor()

double gfun_taylor ( int n,
double x )
static

Calculates value of the Gn(x) auxiliary function using the Taylor expansion. The Taylor series converges for x <= 30.

Definition at line 74 of file grpp_specfunc_gfun.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ libgrpp_gfun_values()

void libgrpp_gfun_values ( double x,
int nmax,
double * g )

Calculates values of the Gn(x) auxiliary function for n = 0, ..., nmax and stores them into the g[] array.

Definition at line 45 of file grpp_specfunc_gfun.c.

Here is the call graph for this function:
Here is the caller graph for this function: