Click or drag to resize

Accumulator Class

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

Namespace: Austra.Library.Stats
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+670447af29d7e7e825b02ff7e655ef2dc84132d2
Syntax
C#
public sealed class Accumulator

The Accumulator type exposes the following members.

Constructors
 NameDescription
Public methodAccumulatorCreates an empty accumulator.
Public methodAccumulator(Double)Creates an accumulator from an array of samples.
Public methodAccumulator(Int32)Creates an accumulator from an array of integer samples.
Top
Properties
 NameDescription
Public propertyCountGets the total number of samples.
Public propertyHint Gets a short hint string describing the contents of this accumulator.
Public propertyKurtosisGets the unbiased population kurtosis.
Public propertyMaximumReturns the maximum value in the sample data.
Public propertyMeanGets the sample mean.
Public propertyMinimumReturns the minimum value in the sample data.
Public propertyPopulationKurtosisGets the kurtosis from the full population.
Public propertyPopulationSkewnessGet the skewness from the full population.
Public propertyPopulationStandardDeviationGets the standard deviation from the full population.
Public propertyPopulationVarianceGets the variance from the full population.
Public propertySkewnessGets the unbiased population skewness.
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 methodAdd(Int32*, 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(Accumulator, Accumulator)Combines two accumulators.
Public operatorStatic memberAddition(Accumulator, Double)Adds a sample to an accumulator.
Top
Remarks
This class supports hardware-acceleration.
See Also