|
Files | |
file | STATS-driver.h |
Statistics functions for ROBOTC. | |
Functions | |
float | erf (float z) |
float | Phi (float z) |
float | Phi (float z, float mu, float sigma) |
float | gaussian () |
float | gaussian (float mu, float sigma) |
Statistics Library
float erf | ( | float | z ) |
Error Function, subject to catastrophic cancellation when z is very close to 0
z | the number to be, ehm, error checked. |
Definition at line 41 of file STATS-driver.h.
float gaussian | ( | float | mu, |
float | sigma | ||
) |
Definition at line 91 of file STATS-driver.h.
float gaussian | ( | ) |
Random number with standard Gaussian distribution
Definition at line 84 of file STATS-driver.h.
float Phi | ( | float | z, |
float | mu, | ||
float | sigma | ||
) |
Cumulative normal distribution with mean mu and std deviation sigma
z | the number to check |
mu | mean value for x |
sigma | std dev for x |
Definition at line 75 of file STATS-driver.h.
float Phi | ( | float | z ) |
Cumulative normal distribution
z | the number to check |
Definition at line 64 of file STATS-driver.h.