Namespaces

Types

Type Accumulator

Namespace MathNet.Numerics.Statistics

Methods

Properties

Public instance methods

void Add(double value)

Adds a real value to the accumulator.
Parameters
double value

void AddRange(IEnumerable<double> values)

Parameters
IEnumerable<double> values

void AddRange(ICollection values)

Adds a range of values to the accumulator.
Parameters
ICollection values

void AddRange(Double[] values)

Parameters
Double[] values

void Clear()

Clears (re-initialize) the accumulator.

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

void Remove(double value)

Removes a value from the accumulator.
Parameters
double value

void RemoveRange(Double[] values)

Parameters
Double[] values

void RemoveRange(ICollection values)

Removes a range of values from the accumulator.
Parameters
ICollection values

void RemoveRange(IEnumerable<double> values)

Parameters
IEnumerable<double> values

string ToString()

Parameters
return string

Public properties

int Count get;

Gets the number of values added to the accumulator.
return int

double ErrorEstimate get;

Gets the mean error estimate defined as the square root of the ratio of the standard deviation to the number of values added to the accumulator.
return double

double Mean get;

Gets the arithmetic mean of the values added to the accumulator.
return double

double MeanSquared get;

Gets the arithmetic mean of the squared values added to the accumulator. Note that this is not equal to the squared mean of the values.
return double

double Sigma get;

Gets the standard deviation of the values added to the accumulator.
return double

double SquaredSum get;

Gets the sum of the squared values added to the accumulator.
return double

double Sum get;

Gets the sum of the values added to the accumulator.
return double

double Variance get;

Gets the variance of the values added to the accumulator.
return double