ILNumerics Ultimate VSSettingsMinNumberOfArrayDimensions Property ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Minimum number of array dimensions. Default: 2 (Matlab, Octave, ILNumerics v4 compatibility). Readonly, controlled by ArrayStyle.

[ILNumerics Core Module]

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

public static uint MinNumberOfArrayDimensions { get; }

Property Value

Type: UInt32
Remarks

This configuration value affects the number of dimensions of newly created arrays. By default ILNumerics maintains compatibility with Matlab / Octave bahavior, where all arrays are considered matrices and carry two dimensions or more. Scalars and 1-dim arrays (vectors) are represented by matrices of [1 x 1], [n x 1] or [1 x n] shapes.

Attempts to create an array with a number of dimensions of less than 2 will transparently create a corresponding matrix (2 dimensions) with trailing singleton dimensions of length 1.

This behavior can be changed by configuring the library for ArrayStyle = numpy. which will also allow true vectors (1 dimension) and 'numpy array scalars' with 0 dimensions.

[ILNumerics Core Module]

See Also

Reference