Click or drag to resize

FMControlThrowOnEmptyCollection Field

Generates exception for some methods on empty collections processing attempt. For example the Mean value calculation of the empty collection will return Double.NaN. With this flag enabled the exception will be generated. Note not all methods checks this flag. For example the Sum method will return 0 for empty collection regardless of this flag state.

Namespace:  FinMath
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static bool ThrowOnEmptyCollection

Field Value

Type: Boolean
See Also