[ILNumerics Core Module]
ILNumericsSize
Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
The Size type exposes the following members.
Name | Description | |
---|---|---|
BaseOffset |
Gets the element index of the first element addressed relative to the
beginning of the underlying buffer storage.
[ILNumerics Core Module] | |
IsContinuous |
Determines if elements stored according to this size descriptor are layed-out continously in memory.
[ILNumerics Core Module] | |
Item |
Get length of dimension at index idx.
[ILNumerics Core Module] | |
Longest |
Length of the longest dimension.
[ILNumerics Core Module] | |
NonSingletonDimensions |
Number of non singleton dimensions of this size.
[ILNumerics Core Module] | |
NumberOfDimensions |
Gets the number of dimensions referenced by this size descriptor.
[ILNumerics Core Module] | |
NumberOfElements |
Gets the overall number of elements managed by this size descriptor.
[ILNumerics Core Module] | |
StorageOrder |
The storage order this size descriptor represents. This is lazily evaluated once for any unchanged descriptor.
[ILNumerics Core Module] |
Name | Description | |
---|---|---|
GetBSD |
[EXPERT INTERFACE!] Gets a reference to the internal BSD array describing the sizes / strides of this size object. Use with care!
[ILNumerics Core Module] | |
GetElementSpan |
Gets the element index of the last element addressed by this size descriptor.
[ILNumerics Core Module] | |
GetElementSpan(Int64*) |
Gets the element index of the last element addressed by a size descriptor.
[ILNumerics Core Module] | |
GetHashCode |
Gets a hash code representing this size descriptors current content.
(Overrides ObjectGetHashCode.)[ILNumerics Core Module] | |
GetPermuted |
Permutes the dimension of an existing BSD.
[ILNumerics Core Module] | |
GetSeqIndex(Int64) |
Retrieves the storage element index into an array stored according to this size descriptor object
based on the provided sequential index d0. Allows negative indices.
[ILNumerics Core Module] | |
GetSeqIndex(UInt32) |
Retrieves the storage element index into an array stored according to this size descriptor object
based on the provided sequential index d0.
[ILNumerics Core Module] | |
GetSeqIndex(InArrayInt64) |
Retrieves the element index of an element located at indices stored in an array according to this size descriptor.
[ILNumerics Core Module] | |
GetSeqIndex(Int64, Int64) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 ... d1. Allows negative indices.
[ILNumerics Core Module] | |
GetSeqIndex(UInt32*, UInt32) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided index array d.
[ILNumerics Core Module] | |
GetSeqIndex(UInt32, UInt32) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 and d1.
[ILNumerics Core Module] | |
GetSeqIndex(Int64, Int64, Int64) |
Retrieves the sequential index into an array stored according to this size descriptor object based
on the provided indices d0 ... d2. Allows negative indices.
[ILNumerics Core Module] | |
GetSeqIndex(UInt32, UInt32, UInt32) |
Retrieves the sequential index into an array stored according to this size descriptor object based
on the provided indices d0 ... d2.
[ILNumerics Core Module] | |
GetSeqIndex(Int64, Int64, Int64, Int64) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 ... d3. Allows negative indices.
[ILNumerics Core Module] | |
GetSeqIndex(UInt32, UInt32, UInt32, UInt32) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 ... d3.
[ILNumerics Core Module] | |
GetSeqIndex(Int64, Int64, Int64, Int64, Int64) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 ... d4. Allows negative indices.
[ILNumerics Core Module] | |
GetSeqIndex(UInt32, UInt32, UInt32, UInt32, UInt32) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 ... d4.
[ILNumerics Core Module] | |
GetSeqIndex(Int64, Int64, Int64, Int64, Int64, Int64) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 ... d5. Allows negative indices.
[ILNumerics Core Module] | |
GetSeqIndex(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 ... d5.
[ILNumerics Core Module] | |
GetSeqIndex(Int64, Int64, Int64, Int64, Int64, Int64, Int64) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 ... d6. Allows negative indices.
[ILNumerics Core Module] | |
GetSeqIndex(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32) |
Retrieves the sequential index into an array stored according to this size descriptor object
based on the provided indices d0 ... d6.
[ILNumerics Core Module] | |
GetSeqIndex_NP |
Computes the memory element offset into an array stored according to this BSD to retrieve the element identified by the _row major_ sequential element index d0.
[ILNumerics Core Module] | |
GetShifted |
Create a new BSD with a rotated version of the dimensions of this size descriptor.
[ILNumerics Core Module] | |
GetStride |
Get the spacing between elements in the dimension dim.
[ILNumerics Core Module] | |
IsSameShape(InArrayInt64) |
Compares the exact shape of this size to another size. Considering all dimensions.
[ILNumerics Core Module] | |
IsSameShape(Size) |
Compares the exact shape of this size to another size. Considering all dimensions.
[ILNumerics Core Module] | |
IsSameSize |
Compares this size to another size, ignoring leading and trailing singleton dimensions.
[ILNumerics Core Module] | |
SetAll |
Set all values of this size descriptor.
[ILNumerics Core Module] | |
ToIntArray | Obsolete.
Gets the lengths of the dimensions of the array associated with this size object.
[ILNumerics Core Module] | |
ToString |
Pretty print dimensions in the format "[a,b,c]".
(Overrides ObjectToString.)[ILNumerics Core Module] | |
WorkingDimension |
Find working dimension to work on. Array style dependent.
[ILNumerics Core Module] |
Name | Description | |
---|---|---|
Equality(Size, InArrayInt64) | Obsolete.
'Equal' operator, compares this size with a shape vector.
[ILNumerics Core Module] | |
Equality(Size, Size) |
'Equal' operator on two instances of Size [ILNumerics Core Module] | |
Inequality(Size, InArrayInt64) | Obsolete.
'Not equal' operator, compares this size with a shape vector.
[ILNumerics Core Module] | |
Inequality(Size, Size) |
'Not equal' operator on two instances of Size [ILNumerics Core Module] |
Name | Description | |
---|---|---|
BSDLength |
The maximum number of entries for a size descriptor. Currently: 17.
| |
CONT_FLAG |
The value / bit No# 32 storing the property: continous storage layout in the m_flags variable.
| |
MaxNumberOfDimensions |
The maximum number of dimensions a size descriptor is able to handle. Currently, from version 5.2: 32.
|
Name | Description | |
---|---|---|
Iterator |
Efficient iterator over the array for use in foreach loops.
(Defined by ExtensionMethods.)[ILNumerics Core Module] |
The class manages /stores all dimensions information of ILNumerics arrays.
Up from version 5.0 every storage holds a permanent instance of one single Size object. Size objects get pooled with the array, reused with the array's storage and become modified when the storage is reassigned a new data array to.
Size uses the full Buffer Size Descriptor format as is used in the Accelerator API. Since version 5.0 arrays in ILNumerics CE can have any storage format! Elements can be storage in column major, row major or any other order which is representable with positive strides. Commonly, array elements address a continous area of elements stored in the host array.
The base offset - the starting index in the host array of the first element - is stored in the BSD long[2] element.
[ILNumerics Core Module]