Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public fields | Public Member Functions | List of all members
Loyc.Utilities.Statistic Class Reference

A lightweight class to help you compute the minimum, maximum, average and standard deviation of a set of values. Call Clear(), then Add(each value); you can compute the average and standard deviation at any time by calling Avg() and StdDeviation(). More...


Source file:

Remarks

A lightweight class to help you compute the minimum, maximum, average and standard deviation of a set of values. Call Clear(), then Add(each value); you can compute the average and standard deviation at any time by calling Avg() and StdDeviation().

Public fields

double Min
 
double Max
 
double SumTotal
 
double SumOfSquares
 
int Count
 

Public Member Functions

void Clear ()
 
void Add (double nextValue)
 
double Avg ()
 
double Variance ()
 
double StdDeviation ()
 
Statistic Clone ()