ILNumerics Ultimate VSILMathtouint8 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.3.0.0 (5.3.7131.2749)
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