OneNormAccumulator<T> Structure

Represents an accumulator for the sum of the absolute values of a sequence.

Definition

Namespace: Numerics.NET.DataAnalysis.Accumulators
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public struct OneNormAccumulator<T> : IAccumulator<T, T>, 
	IAccumulator<T>
Inheritance
Object  →  ValueType  →  OneNormAccumulator<T>
Implements
IAccumulator<T>, IAccumulator<T, T>

Type Parameters

T
The type of the elements of the sequence.

Remarks

When T, the absolute values of the real and imaginary components are each added to the sum.

Properties

CurrentValue Gets the current value of the accumulator.
HasValue Gets whether the accumulator has received enough data to compute a value.

Methods

Add Updates the accumulator with the specified value.
AddMissing Updates the accumulator with a missing value.
EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Remove Updates the accumulator by removing the specified value.
RemoveMissing Updates the accumulator by removing a missing value.
Reset Resets the accumulator to its initial state.
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

See Also