Click or drag to resize

SimpleAccumulator Class

Calculates statistics by adding samples.
Inheritance Hierarchy
SystemObject
  Austra.Library.StatsSimpleAccumulator

Namespace: Austra.Library.Stats
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
Syntax
C#
public sealed class SimpleAccumulator

The SimpleAccumulator type exposes the following members.

Constructors
 NameDescription
Public methodSimpleAccumulatorCreates an empty accumulator.
Public methodSimpleAccumulator(Accumulator)Creates an empty accumulator from a full source.
Top
Properties
 NameDescription
Public propertyCountGets the total number of samples.
Public propertyMaximumReturns the maximum value in the sample data.
Public propertyMeanGets the sample mean.
Public propertyMinimumReturns the minimum value in the sample data.
Public propertyPopulationStandardDeviationGets the standard deviation from the full population.
Public propertyPopulationVarianceGets the variance from the full population.
Public propertyStandardDeviationGets the unbiased standard deviation.
Public propertyVarianceGets the unbiased variance.
Top
Methods
 NameDescription
Public methodAdd(Double)Adds a sample to this accumulator.
Public methodAdd(Double)Adds an array of samples to this accumulator.
Public methodAdd(Double*, Int32)Adds samples from a memory zone to this accumulator.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringGets a textual representation of the accumulator.
(Overrides ObjectToString)
Top
Operators
 NameDescription
Public operatorStatic memberAddition(SimpleAccumulator, SimpleAccumulator)Combines two accumulators.
Public operatorStatic memberAddition(SimpleAccumulator, Double)Adds a sample to an accumulator.
Top
Remarks
This class supports hardware-acceleration.
See Also