ILNumerics - Technical Application Development
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Steady Array, will survive multiple usages
"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
Parameters
- A
- Type: ILNumericsRetLogical
Temporary array
Return Value
Type: LogicalSteady 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