ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
A new ILNumerics array with copies of the given values and the given shape.
A copy is made from values. The array values is not referenced
by ILNumerics after the function returns.
Creates a new ILNumerics array from the values provided in values with the shape given by size.
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public static RetArray<T> array<T>( T[] values, InArray<long> size, StorageOrders order = StorageOrders.ColumnMajor )
Parameters
- values
- Type: T
Values to be copied to the new ILNumerics array. - size
- Type: ILNumericsInArrayInt64
The size of the new ILNumerics array. Number of elements must correspond to the number of values in values. - order (Optional)
- Type: ILNumericsStorageOrders
[Optional] Storage order for the new ILNumerics array. Default: (ColumnMajor).
Type Parameters
- T
- Element type.
Return Value
Type: RetArrayTA new ILNumerics array with copies of the given values and the given shape.
Remarks
Make sure that the number of elements configured by the dimension lengths in size match the number of values of values.
This function is a convenience alias for 'vector(values).Reshape(size,order)'.
[ILNumerics Computing Engine]
See Also