ILNumerics.Net
CreateReference Method

ILNumerics.Net - numeric computing and plotting for .NET

ILNumericsILArray<(Of <(BaseT>)>)CreateReference()()()
ILNumerics.Net - numeric computing for .NET
Create referencing copy of this array
Declaration Syntax
C#Visual BasicVisual C++
public override ILBaseArray CreateReference()
Public Overrides Function CreateReference As ILBaseArray
public:
virtual ILBaseArray^ CreateReference() override
Return Value
Reference of this ILArray
Remarks

This function is mainly needed for ILCell. Elements of ILCells given back must be detached from their originals in order not to overwrite them on write access. Since ILCell may store any types of arrays (ILBaseArray's) and the actual type is not known, ILBaseArrays must be capable of creating a copy of themself. For generic ILArray's this is done in the CreateReference()()() member.

The actual storage type of the object returned depends on the setting of the member MinimumRefDimensions. If the number of dimensions of this array is larger or equal its numer, the object returned will be a reference array. Otherwise it will be a physical array anyway. This is especially true for scalars and vectors.

Assembly: ILNumerics.Net (Module: ILNumerics.Net) Version: 1.4.1.1 (0.10.2.0)