ILNumerics Ultimate VS

Logical  Conversion (RetLogical to Logical)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
"Persistence cast" turns a volatile array into a persistent variable for use with a local variable.

[ILNumerics Core Module]

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

public static implicit operator Logical (
	RetLogical A
)

Parameters

A
Type: ILNumericsRetLogical
Temporary array

Return Value

Type: Logical
Steady Array, will survive multiple usages
Remarks

This casting conversion changes temporary arrays from temporary (volatile) state to local Arrays with persistent state. The inner storage is kept and used for the new array. The new array can then be used (referenced, accessed, modified) during the rest of the function scope. In contrast to that, RetArrayT1 is disposed off immediately after first use.

New memoy is only used for the new array storage and data elements are only copied from A when the returned array is altered later on.

[ILNumerics Core Module]

See Also

Reference