ILNumerics - Technical Application Development
System.Object
ILNumerics.Scope
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Top
A scope object serves the following purposes:
An artificial scope class, used by the ILNumerics memory management
[ILNumerics Core Module]
Inheritance Hierarchy
ILNumerics.Scope
Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
The Scope type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Dispose |
Release all arrays in this scope.
[ILNumerics Core Module] |
![]() ![]() ![]() | Enter() |
Begins an artificial scope block within a local function.
[ILNumerics Core Module] |
![]() ![]() ![]() | Enter(Nullable<ArrayStyles>) |
Begins an artificial scope block within a local function, determine the array style.
[ILNumerics Core Module] |
![]() ![]() ![]() | Enter(BaseArray, Nullable<ArrayStyles>) |
Begins an artificial scope block within a local function block.
[ILNumerics Core Module] |
![]() ![]() ![]() | Enter(BaseArray, BaseArray, Nullable<ArrayStyles>) |
Begins an artificial scope block within a local function block.
[ILNumerics Core Module] |
![]() ![]() ![]() | Enter(BaseArray, BaseArray, BaseArray, Nullable<ArrayStyles>) |
Begins an artificial scope block within a local function block.
[ILNumerics Core Module] |
![]() ![]() ![]() | Enter(BaseArray, BaseArray, BaseArray, BaseArray, Nullable<ArrayStyles>) |
Begins an artificial scope block within a local function block.
[ILNumerics Core Module] |
![]() ![]() ![]() | Enter(BaseArray, BaseArray, BaseArray, BaseArray, BaseArray, Nullable<ArrayStyles>) |
Begins an artificial scope block within a local function block.
[ILNumerics Core Module] |
Remarks
It provides an option to be used within a using directive. Therefore, it implements the IDisposable interface.
Internally it maintains a Count variable which keeps track of the number of arrays currently maintained by the scope.
Scopes participate in an efficient caching algorithm. One should not create a scope object manually via new(). Use the [!:Enter(BaseArray)] and [!:Enter(BaseArray[])] functions instead!
[ILNumerics Core Module]
See Also