ILNumerics Ultimate VS

ConcreteArrayT1, LocalT, InT, OutT, RetT, StorageTReshape Method (UInt32, NullableStorageOrders)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
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

public RetT Reshape(
	uint[] dimLengths,
	Nullable<StorageOrders> order = null
)

Parameters

dimLengths
Type: SystemUInt32
Lengths array.
order (Optional)
Type: SystemNullableStorageOrders
Storage order for reading and writing

Return Value

Type: RetT
Reshaped array.
Exceptions

ExceptionCondition
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

Reference