IMathTNumericMin Method
Returns the smaller of two numbers.
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
TNumeric Min(
TNumeric val1,
TNumeric val2
)
Function Min (
val1 As TNumeric,
val2 As TNumeric
) As TNumeric
TNumeric Min(
TNumeric val1,
TNumeric val2
)
abstract Min :
val1 : 'TNumeric *
val2 : 'TNumeric -> 'TNumeric
- val1 TNumeric
- The first of two numbers to compare.
- val2 TNumeric
- The second of two numbers to compare.
TNumericParameter
val1 or
val2, whichever is smaller.
This method may return
NaN or Infinity.
If
NaN or Infinity cannot be represented by
TNumeric,
then this method may throw an
ArithmeticException.