ze-filter  (ze-filter-0.8.0-develop-180218)
zeKStats.c File Reference
#include <ze-sys.h>
#include "zeKStats.h"

Go to the source code of this file.

Classes

struct  point
 

Macros

#define OK   0
 
#define ERROR   -1
 
#define M_PI   3.14159265358979323846
 
#define SQRT2PI   2.50662827479
 
#define sqr(x)   ((x)*(x))
 
#define sign(x)   (((x) > 0.) ? 1 : (((x) < 0.) ? -1 : 0))
 

Functions

double zeKMean (kstats_T *s)
 
double zeKStdDev (kstats_T *s)
 
double zeKMin (kstats_T *s)
 
double zeKMax (kstats_T *s)
 
long zeKCount (kstats_T *s)
 
void zeKStatsReset (kstats_T *s)
 
void zeKStatsUpdate (kstats_T *s, double t)
 
double FGauss (double x)
 
double erf (double x)
 
double erfc (double x)
 
double FGaussI (double y)
 
double erfi (double y)
 
double erfci (double y)
 
double confidence_interval (double p, double stddev, int n)
 

Macro Definition Documentation

◆ ERROR

#define ERROR   -1

Definition at line 144 of file zeKStats.c.

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 148 of file zeKStats.c.

◆ OK

#define OK   0

Definition at line 143 of file zeKStats.c.

◆ sign

#define sign (   x)    (((x) > 0.) ? 1 : (((x) < 0.) ? -1 : 0))

Definition at line 197 of file zeKStats.c.

◆ sqr

#define sqr (   x)    ((x)*(x))

Definition at line 153 of file zeKStats.c.

◆ SQRT2PI

#define SQRT2PI   2.50662827479

Definition at line 151 of file zeKStats.c.

Function Documentation

◆ confidence_interval()

double confidence_interval ( double  p,
double  stddev,
int  n 
)

Definition at line 365 of file zeKStats.c.

◆ erf()

double erf ( double  x)

Definition at line 250 of file zeKStats.c.

◆ erfc()

double erfc ( double  x)

Definition at line 258 of file zeKStats.c.

◆ erfci()

double erfci ( double  y)

Definition at line 355 of file zeKStats.c.

◆ erfi()

double erfi ( double  y)

Definition at line 346 of file zeKStats.c.

◆ FGauss()

double FGauss ( double  x)

Definition at line 243 of file zeKStats.c.

◆ FGaussI()

double FGaussI ( double  y)

Definition at line 335 of file zeKStats.c.

◆ zeKCount()

long zeKCount ( kstats_T s)

Definition at line 82 of file zeKStats.c.

◆ zeKMax()

double zeKMax ( kstats_T s)

Definition at line 72 of file zeKStats.c.

◆ zeKMean()

double zeKMean ( kstats_T s)

Definition at line 43 of file zeKStats.c.

◆ zeKMin()

double zeKMin ( kstats_T s)

Definition at line 62 of file zeKStats.c.

◆ zeKStatsReset()

void zeKStatsReset ( kstats_T s)

Definition at line 92 of file zeKStats.c.

◆ zeKStatsUpdate()

void zeKStatsUpdate ( kstats_T s,
double  t 
)

Definition at line 101 of file zeKStats.c.

◆ zeKStdDev()

double zeKStdDev ( kstats_T s)

Definition at line 53 of file zeKStats.c.