ILNumerics - Technical Application Development 
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
 
Reshaped array.
 
 
            Create reshaped version of this storage.
            
[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( long d0, long d1, long d2, long d3, long d4, long d5, long d6, Nullable<StorageOrders> order = null )
Parameters
- d0
- Type: SystemInt64
 Number of elements along dim 0.
- d1
- Type: SystemInt64
 Number of elements along dim 1.
- d2
- Type: SystemInt64
 Number of elements along dim 2.
- d3
- Type: SystemInt64
 Number of elements along dim 3.
- d4
- Type: SystemInt64
 Number of elements along dim 4.
- d5
- Type: SystemInt64
 Number of elements along dim 5.
- d6
- Type: SystemInt64
 Number of elements along dim 6.
- order (Optional)
- Type: SystemNullableStorageOrders
 [Optional] Storage order for the output array. Default: null (Settings.DefaultStorageOrder).
Return Value
Type: RetTReshaped array.
Remarks
The storage order for both: the order for reading the elements from this array and storing the element into the reshaped array is determined as follows:
If order is specified (ColumnMajor or RowMajor) its value is used for reading and writing. A copy is made only if really needed.Otherwise, the value of DefaultStorageOrder determins the target storage order.A copy of the elements is required for non-continous arrays and - except for vector shaped arrays - for unmatching order settings. Otherwise the returned array references the same memory as this array and uses another size descriptor only.
[ILNumerics Core Module]
See Also
