ILNumerics - Technical Application Development
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Reshaped array.
Creates reshaped version, accepts dimension lengths as array.
[ILNumerics Core Module]
Namespace: ILNumerics.Core.Arrays
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- dimLengths
- Type: SystemUInt32
Lengths array. - order (Optional)
- Type: SystemNullableStorageOrders
Storage order for reading and writing
Return Value
Type: RetTReshaped array.
Exceptions
Exception | Condition |
---|---|
ArgumentException | if dimLengths is null or longer than the maximum number of dimensions supported: MaxNumberOfDimensions. |
Remarks
All dimensions of the target shape must be specified explicitly. In order to infer one of the dimensions automatically, use Reshape(Int64, NullableStorageOrders) instead.
This function is tested for up to 7 dimensions only!
This function is provided for such situations where the size / shape of the target array is computed automatically. Here, it is convenient to provide the dimension lengths as a single array parameter.
The same limitations exist as for the overloads with individual dimension parameters.
[ILNumerics Core Module]
See Also