ILNumerics Ultimate VSMutableT1, LocalT, InT, OutT, RetT, StorageTitemsize Property ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
[numpy API] The number of bytes required to store a single element T1 in memory. [readonly]

[ILNumerics Core Module]

Namespace: ILNumerics.Core.Arrays
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: (5.3.7131.2749)

public uint itemsize { get; }

Property Value

Type: UInt32

The number of bytes for a single element T1 mostly correspond to the sizeof(T1) operator in C# for numeric types. One exception are the elements of Logical arrays which consume only 1 byte (sizeof(bool) = 4). itemsize can be seen as a more general variant of 'sizeof(T1)', taking these subtleties into account.

[ILNumerics Core Module]

See Also