[ILNumerics Core Module]
Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Parameters
- A
- Type: ILNumericsRetCell
Array returned from somewhere.
Return Value
Type: CellLocal array, survives multiple usages in the current scope.
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.
Array conversions in ILNumerics do not require new memory. Elements are not copied unless multiple arrays reference the same memory and one of them is about to be changed. Only then a copy of the memory is done and the change is performed on the copy (lazy copy on write).
[ILNumerics Core Module]