StreamingStatisticsMaximumMagnitudePhase(IEnumerableComplex) Method |
Returns the largest absolute value from the enumerable, in a single pass without memoization.
Returns NaN if data is empty or any entry is NaN.
Namespace: Altaxo.Calc.StatisticsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static Complex MaximumMagnitudePhase(
IEnumerable<Complex> stream
)
Parameters
- stream IEnumerableComplex
- Sample stream, no sorting is assumed.
Return Value
ComplexThe complex value with the largest magnitude (ties broken by larger phase), or a complex NaN pair if the stream is empty or contains
NaN.
See Also