ILNumerics Ultimate VSILMathmin Method (BaseArraySingle, BaseArraySingle, Boolean)ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Gives the minimum of corresponding elements from A and B. Recognizes NaN values.

[ILNumerics Computing Engine]

Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.3.0.0 (5.3.7131.2749)
Syntax

public static RetArray<float> min(
	BaseArray<float> A,
	BaseArray<float> B,
	bool omitNaN = true
)

Parameters

A
Type: ILNumericsBaseArraySingle
The one array.
B
Type: ILNumericsBaseArraySingle
The other array.
omitNaN (Optional)
Type: SystemBoolean
[Optional] specifies how to deal with NaN values in A or B. Default: (true) prefer non-NaN values if possible.

Return Value

Type: RetArraySingle
Result of operating elements of A and B elementwise.
Remarks

Handling of NaN values: omitNaN is true (default). For floating point element types and if one of the elements to compare is NaN the other element is returned. If both elements are NaN the element from A is returned.

If omitNaN is false the result is NaN if at least one of the elements is NaN. If both elements are NaN than the first element is returned.

[ILNumerics Computing Engine]

See Also

Reference