Macros | Functions | Variables
zetac.c File Reference
#include "mconf.h"
#include "lanczos.h"
Include dependency graph for zetac.c:

Go to the source code of this file.

Macros

#define MAXL2   127
 
#define SQRT_2_PI   0.79788456080286535587989
 

Functions

double riemann_zeta (double x)
 
static double zeta_reflection (double)
 
double zetac (double x)
 
static double zetac_positive (double)
 
static double zetac_smallneg (double)
 

Variables

static double A [11]
 
static const double azetac []
 
static double B [10]
 
double MACHEP
 
static double P [9]
 
static double Q [8]
 
static double R [6]
 
static double S [5]
 
static double TAYLOR0 [10]
 

Macro Definition Documentation

◆ MAXL2

#define MAXL2   127

Definition at line 175 of file zetac.c.

◆ SQRT_2_PI

#define SQRT_2_PI   0.79788456080286535587989

Definition at line 176 of file zetac.c.

Function Documentation

◆ riemann_zeta()

double riemann_zeta ( double  x)

Definition at line 211 of file zetac.c.

◆ zeta_reflection()

static double zeta_reflection ( double  x)
inlinestatic

Definition at line 311 of file zetac.c.

◆ zetac()

double zetac ( double  x)

Definition at line 188 of file zetac.c.

◆ zetac_positive()

static double zetac_positive ( double  x)
inlinestatic

Definition at line 234 of file zetac.c.

◆ zetac_smallneg()

static double zetac_smallneg ( double  x)
inlinestatic

Definition at line 301 of file zetac.c.

Variable Documentation

◆ A

double A[11]
static
Initial value:
= {
8.70728567484590192539E6,
1.76506865670346462757E8,
2.60889506707483264896E10,
5.29806374009894791647E11,
2.26888156119238241487E13,
3.31884402932705083599E14,
5.13778997975868230192E15,
-1.98123688133907171455E15,
-9.92763810039983572356E16,
7.82905376180870586444E16,
9.26786275768927717187E16,
}

Definition at line 115 of file zetac.c.

◆ azetac

const double azetac[]
static

Definition at line 55 of file zetac.c.

◆ B

double B[10]
static
Initial value:
= {
-7.92625410563741062861E6,
-1.60529969932920229676E8,
-2.37669260975543221788E10,
-4.80319584350455169857E11,
-2.07820961754173320170E13,
-2.96075404507272223680E14,
-4.86299103694609136686E15,
5.34589509675789930199E15,
5.71464111092297631292E16,
-1.79915597658676556828E16,
}

Definition at line 129 of file zetac.c.

◆ MACHEP

double MACHEP

Definition at line 54 of file const.c.

◆ P

double P[9]
static
Initial value:
= {
5.85746514569725319540E11,
2.57534127756102572888E11,
4.87781159567948256438E10,
5.15399538023885770696E9,
3.41646073514754094281E8,
1.60837006880656492731E7,
5.92785467342109522998E5,
1.51129169964938823117E4,
2.01822444485997955865E2,
}

Definition at line 90 of file zetac.c.

◆ Q

double Q[8]
static
Initial value:
= {
3.90497676373371157516E11,
5.22858235368272161797E10,
5.64451517271280543351E9,
3.39006746015350418834E8,
1.79410371500126453702E7,
5.66666825131384797029E5,
1.60382976810944131506E4,
1.96436237223387314144E2,
}

Definition at line 102 of file zetac.c.

◆ R

double R[6]
static
Initial value:
= {
-3.28717474506562731748E-1,
1.55162528742623950834E1,
-2.48762831680821954401E2,
1.01050368053237678329E3,
1.26726061410235149405E4,
-1.11578094770515181334E5,
}

Definition at line 144 of file zetac.c.

◆ S

double S[5]
static
Initial value:
= {
1.95107674914060531512E1,
3.17710311750646984099E2,
3.03835500874445748734E3,
2.03665876435770579345E4,
7.43853965136767874343E4,
}

Definition at line 153 of file zetac.c.

◆ TAYLOR0

double TAYLOR0[10]
static
Initial value:
= {
-1.0000000009110164892,
-1.0000000057646759799,
-9.9999983138417361078e-1,
-1.0000013011460139596,
-1.000001940896320456,
-9.9987929950057116496e-1,
-1.000785194477042408,
-1.0031782279542924256,
-9.1893853320467274178e-1,
-1.5,
}

Definition at line 162 of file zetac.c.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:55