ILNumerics Ultimate VS

ILMathtouint8 Method (BaseArrayBoolean)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Convert elements to Byte.

[ILNumerics Computing Engine]

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

public static RetArray<byte> touint8(
	BaseArray<bool> A
)

Parameters

A
Type: ILNumericsBaseArrayBoolean
Input array.

Return Value

Type: RetArrayByte
Logical of the same shape as A.
Remarks

The operation is efficiently performed without copying elements of A.

The array returned will have the same StorageOrder as A.

The operation is performed by 'reinterprete-cast'-ing A to the new output type.

The input array A is not altered.

[ILNumerics Computing Engine]

See Also

Reference