SimpleAccumulator 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 SimpleAccumulator
Inheritance
Object    SimpleAccumulator

Remarks

This class supports hardware-acceleration.

Constructors

SimpleAccumulatorCreates an empty accumulator.
SimpleAccumulator(Accumulator)Creates an empty accumulator from a full source.

Properties

CountGets the total number of samples.
MaximumReturns the maximum value in the sample data.
MeanGets the sample mean.
MinimumReturns the minimum value in the sample data.
PopulationStandardDeviationGets the standard deviation from the full population.
PopulationVarianceGets the variance from the full population.
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.
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(SimpleAccumulator, SimpleAccumulator)Combines two accumulators.
Addition(SimpleAccumulator, Double)Adds a sample to an accumulator.

See Also