Accumulator Class

Calculates statistics by adding samples.

Definition

Namespace: Austra.Library.Stats
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public sealed class Accumulator
Inheritance
Object    Accumulator

Remarks

This class supports hardware-acceleration.

Constructors

AccumulatorCreates an empty accumulator.
Accumulator(Double)Creates an accumulator from an array of samples.
Accumulator(Int32)Creates an accumulator from an array of integer samples.

Properties

CountGets the total number of samples.
Hint Gets a short hint string describing the contents of this accumulator.
KurtosisGets the unbiased population kurtosis.
MaximumReturns the maximum value in the sample data.
MeanGets the sample mean.
MinimumReturns the minimum value in the sample data.
PopulationKurtosisGets the kurtosis from the full population.
PopulationSkewnessGet the skewness from the full population.
PopulationStandardDeviationGets the standard deviation from the full population.
PopulationVarianceGets the variance from the full population.
SkewnessGets the unbiased population skewness.
StandardDeviationGets the unbiased standard deviation.
VarianceGets the unbiased variance.

Methods

Add(Double)Adds a sample to this accumulator.
Add(Double)Adds an array of samples to this accumulator.
Add(Double*, Int32)Adds samples from a memory zone to this accumulator.
Add(Int32*, Int32)Adds samples from a memory zone to this accumulator.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringGets a textual representation of the accumulator.
(Overrides ObjectToString)

Operators

Addition(Accumulator, Accumulator)Combines two accumulators.
Addition(Accumulator, Double)Adds a sample to an accumulator.

See Also