[This is preliminary documentation and is subject to change.]
Convert an array of booleans to an array of integers. Used for some low-level calls
that require an array of logical ints to express boolean values.
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 0.9.0.0 (0.9.0.0)
Syntax
| C# |
|---|
protected static int[] BoolToInt( bool[] arr ) |
| Visual Basic (Declaration) |
|---|
Protected Shared Function BoolToInt ( _ arr As Boolean() _ ) As Integer() |
| Visual C++ |
|---|
protected: static array<int>^ BoolToInt( array<bool>^ arr ) |
Parameters
- arr
- Type: array<
System..::.Boolean
>[]()[]
An array to convert.