[This is preliminary documentation and is subject to change.]

Convert an array of integers to an array of booleans. Used for some low-level calls that return an array of logical ints to express boolean values.

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)

Syntax

C#
protected static bool[] IntToBool(
	int[] arr
)
Visual Basic (Declaration)
Protected Shared Function IntToBool ( _
	arr As Integer() _
) As Boolean()
Visual C++
protected:
static array<bool>^ IntToBool(
	array<int>^ arr
)

Parameters

arr
Type: array< System..::.Int32 >[]()[]
An array to convert.

Return Value

An array of bools corresponding to the logical values in the input array.

See Also