ILNumerics Ultimate VS

MutableT1, LocalT, InT, OutT, RetT, StorageTAssign Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Assign another array to this array variable. This is an optional, yet more efficient alternative to using '=' for assigning to the array directly.

[ILNumerics Core Module]

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

public void Assign(
	ConcreteArray<T1, LocalT, InT, OutT, RetT, StorageT> value
)

Parameters

value
Type: ILNumerics.Core.ArraysConcreteArrayT1, LocalT, InT, OutT, RetT, StorageT
The new array.
Remarks

By using this method, the storage of this array is immediately released to the memory pool and replaced by the new arrays content. In difference to that, by using the common '=' assignment operator, the existing arrays storage is released only at the time, the current Enter block is left. Therefeore, prefer this method if a smaller memory pool is crucial.

[ILNumerics Core Module]

See Also

Reference