Product Accumulator<T>.Merge Method
Appends the observations represented by another accumulator to this accumulator.
Definition
Namespace: Numerics.NET.DataAnalysis.Accumulators
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
public void Merge(
in ProductAccumulator<T> other
)Parameters
- other ProductAccumulator<T>
- The source accumulator, which is not modified.
Remarks
A reset accumulator is the empty identity. Missing observations retain their existing
treatment. Self-merging duplicates the observations. Floating-point rounding, overflow
and underflow may differ from sequential accumulation.
Exceptions
| Overflow | The combined count exceeds MaxValue. |