Correlation Accumulator<T> Structure
Represents an accumulator that computes the Pearson correlation between two sequences.
Definition
Namespace: Numerics.NET.DataAnalysis.Accumulators
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public struct CorrelationAccumulator<T> : IBinaryAccumulator<T, T>
- Implements
- IBinaryAccumulator<T, T>
Type Parameters
- T
- The type of the input and output.
Properties
Central | Gets the current central sum of products of the two sequences. |
Central | Gets the current central sum of squares of the first sequence. |
Central | Gets the current central sum of squares of the second sequence. |
Correlation | Gets the current correlation between the two sequences. |
Correlation | Gets the current correlation distance between the two sequences. |
Current |
Gets the current value of the accumulator.
Obsolete. |
Has | Gets whether the accumulator has received enough data to compute a value. |
Mean1 | Gets the current mean of the first sequence. |
Mean2 | Gets the current mean of the second sequence. |
Variance1 | Gets the current variance of the first sequence. |
Variance2 | Gets the current variance of the second sequence. |
Methods
Add | Updates the accumulator with the specified value. |
Add | Updates the accumulator with a missing value. |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) |
Get | Returns the hash code for this instance. (Inherited from ValueType) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Remove | Updates the accumulator by removing the specified value. |
Remove | Updates the accumulator by removing a missing value. |
Reset | Resets the accumulator to its initial state. |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) |