ILNumerics - Technical Application Development
SystemObject
ILNumerics.Core.StorageLayerBaseStorageT, LocalT, InT, OutT, RetT, StorageT
ILNumerics.Core.StorageLayerCellStorage
ILNumerics.Core.StorageLayerLogicalStorage
ILNumerics.Core.StorageLayerStorageT
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Top
Top
Top
Inheritance Hierarchy
ILNumerics.Core.StorageLayerBaseStorageT, LocalT, InT, OutT, RetT, StorageT
ILNumerics.Core.StorageLayerCellStorage
ILNumerics.Core.StorageLayerLogicalStorage
ILNumerics.Core.StorageLayerStorageT
Namespace: ILNumerics.Core.StorageLayer
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public abstract class BaseStorage<T, LocalT, InT, OutT, RetT, StorageT> : IDisposable, IStorage where LocalT : Mutable<T, LocalT, InT, OutT, RetT, StorageT> where InT : Immutable<T, LocalT, InT, OutT, RetT, StorageT> where OutT : Mutable<T, LocalT, InT, OutT, RetT, StorageT> where RetT : ConcreteRetArray<T, LocalT, InT, OutT, RetT, StorageT> where StorageT : new(), BaseStorage<T, LocalT, InT, OutT, RetT, StorageT>
Type Parameters
- T
- LocalT
- InT
- OutT
- RetT
- StorageT
The BaseStorageT, LocalT, InT, OutT, RetT, StorageT type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsDisposed | ||
ReferenceCount |
Gets the number of arrays published for this storage.
[ILNumerics Core Module] | |
S | ||
Size |
Methods
Name | Description | |
---|---|---|
Assign | ||
Clone |
Creates a shallow copy of this storage. Does not copy the handles but only the storage object.
[ILNumerics Core Module] | |
Create(T) |
Provide a scalar storage with the value of scalar.
[ILNumerics Core Module] | |
Create(T, UInt32) |
Provide a storage for the provided scalar value.
[ILNumerics Core Module] | |
CreateSelf4Reshape |
Prepares the return storage. Commonly, this copies the values if needed or gives a self-reference. This function is here to enable CellStorage to override.
[ILNumerics Core Module] | |
Detach |
Makes sure that this array / storage can be written to without affecting any other arrays may sharing data, enabling write access.
[ILNumerics Core Module] | |
Dispose |
Disposes this storage. This releases all attached objects and transfers the storage and associated objects to the pools.
[ILNumerics Core Module] | |
getCheckIterator | ||
GetEnumerator |
Enumerator returning elements as T.
[ILNumerics Core Module] | |
GetHashCode |
Generate a hash code based on the current element values.
(Overrides ObjectGetHashCode.)[ILNumerics Core Module] | |
New |
Create a new memory handle of elementLength elements of the natural element type of this storage.
[ILNumerics Core Module] | |
Release | ||
Retain | ||
SetValue |
Helper method delegating array (long*) indices to individual SetValue(d0,d1,..) dimensional indices. Used by Cells deep indexing.
[ILNumerics Core Module] | |
ShortInfo |
Gives a short description about the type, shape and a few element values of this storage.
[ILNumerics Core Module] | |
ShortInfo(Boolean, Boolean, Boolean, Boolean, Boolean) |
Gives a short description. Allows to disable individual info.
[ILNumerics Core Module] | |
ToStream | ||
ToString |
Create a textual representation of this storage.
(Overrides ObjectToString.)[ILNumerics Core Module] | |
ToString(UInt32, UInt32, StorageOrders, Boolean, Boolean, NullableInt32) | ||
ToStringScaling | ||
WriteTo_ML_BSDIter_T |
Copies values from value, regardless of shape(!) to the parts of this storage as determined by outBSD. No broadcasting!
[ILNumerics Core Module] | |
WriteTo_ML_IterIter_T |
Fields
Name | Description | |
---|---|---|
m_array |
The local array of this storage.
| |
m_arrayCounter | ||
m_inArray |
The input array of this storage.
| |
m_outArray |
The output array of this storage.
| |
m_previousStorage | ||
m_retArray |
The return array of this storage.
| |
m_scopeState | ||
m_size | ||
SizeOfT |
Number of bytes used to store a single element of type T in memory [readonly].
|
See Also