ILNumerics Ultimate VS

ILMathanyall Method (BaseArrayBoolean)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Tests if any elements of A are non-zero.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetLogical anyall(
	BaseArray<bool> A
)

Parameters

A
Type: ILNumericsBaseArrayBoolean
Input array.

Return Value

Type: RetLogical
New scalar logical. True if the test for non-zero succeeded for any element of A. False otherwise.
Remarks

The operation is efficiently performed and elements of the input array A are not iterated if the number of Trues are known for the logical input.

If elements must be iterated the operation is performed in multiple threads, according to the current settings of MaxNumberThreads.

The input array A is not altered.

For floating point element types, 'not a number' (NaN) and other special floating point values (Inf) are considered non-zero.

[ILNumerics Computing Engine]

See Also

Reference