Elementary.Min Method
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Overload List
Min(Double[]) | Returns the smallest value in an array using IEEE-754r semantics. |
Min(Single[]) | Returns the smallest value in an array using IEEE-754r semantics. |
Min( | Returns the smallest of two numbers using IEEE-754r semantics. |
Min( | Returns the smallest of two numbers using IEEE-754r semantics. |
Min( | Returns the smallest of three numbers using IEEE-754r semantics. |
Min( | Returns the smallest of three numbers using IEEE-754r semantics. |
Min(Double[])
public static double Min(
params double[] values
)
Parameters
- values Double[]
- An array of real numbers.
Return Value
DoubleThe smallest value in values.
Remarks
In accordance with IEEE-754r, NaN is returned only if all elements of values are NaN. This behavior is different from the Max(Double, Double) function in the Base Class Libraries.
Min(Single[])
public static float Min(
params float[] values
)
Parameters
- values Single[]
- An array of real numbers.
Return Value
SingleThe smallest value in values.
Remarks
In accordance with IEEE-754r, NaN is returned only if all elements of values are NaN. This behavior is different from the Max(Single, Single) function in the Base Class Libraries.
Min(Double, Double)
public static double Min(
double x,
double y
)
Parameters
Return Value
DoubleThe smaller of x and y.
Remarks
In accordance with IEEE-754r, NaN is returned only if both x and y are NaN. This behavior is different from the Min(Double, Double) function in the Base Class Libraries.
Min(Single, Single)
Remarks
In accordance with IEEE-754r, NaN is returned only if both x and y are NaN. This behavior is different from the Min(Single, Single) function in the Base Class Libraries.
Min(Double, Double, Double)
public static double Min(
double x,
double y,
double z
)
Parameters
Return Value
DoubleThe smaller of x, y, and z.
Remarks
In accordance with IEEE-754r, NaN is returned only if x, y and z are all NaN. This behavior is different from the Min(Double, Double) function in the Base Class Libraries.
Min(Single, Single, Single)
public static float Min(
float x,
float y,
float z
)
Parameters
Return Value
SingleThe smaller of x, y, and z.
Remarks
In accordance with IEEE-754r, NaN is returned only if x, y and z are all NaN. This behavior is different from the Min(Single, Single) function in the Base Class Libraries.