ILNumerics Ultimate VSILMathlogical Method (InArrayInt64, NullableStorageOrders, Boolean)ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Creates a new logical array with given shape and optional storage order.

[ILNumerics Computing Engine]

Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.3.0.0 (5.3.7131.2749)
Syntax

public static RetLogical logical(
	InArray<long> size,
	Nullable<StorageOrders> order = null,
	bool clear = true
)

Parameters

size
Type: ILNumericsInArrayInt64
The size of the new array.
order (Optional)
Type: SystemNullableStorageOrders
[Optional] Storage order for the new ILNumerics array. Default: (DefaultStorageOrder).
clear (Optional)
Type: SystemBoolean
[Optional] True: initialize the elements of the new logical with value 'False'. Default: true.

Return Value

Type: RetLogical
A new ILNumerics array with copies of the given values and the given shape.
Remarks

Use this function to create and optionally initialize (large) logicals from scratch, outside of a binary operation and without converting from a .NET array of booleans.

[ILNumerics Computing Engine]

Examples

Logical L = logical(size(1000,2000), StorageOrders.RowMajor);
See Also

Reference