ILNumerics Ultimate VS

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

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development

Note: This API is now obsolete.

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

[ObsoleteAttribute("Use Reshape(InArray<long>,StorageOrders) instead! Lists of number literals (new dimension lengths) can be wrapped into size(1,2,3,...).")]
public RetT Reshape(
	long[] dimLengths,
	Nullable<StorageOrders> order = null
)

Parameters

dimLengths
Type: SystemInt64
Lengths array.
order (Optional)
Type: SystemNullableStorageOrders
[Optional] Storage order for reading and writing. Default: DefaultStorageOrder, depends on ArrayStyle.

Return Value

Type: RetT
Reshaped array.
Exceptions

ExceptionCondition
ArgumentException if dimLengths is null or longer than the maximum number of dimensions supported: MaxNumberOfDimensions.
Remarks

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