ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
New array according to size with all elements set to 'value'
Create new array, fill elements with constant value
[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 value, Size size, StorageOrders order = StorageOrders.ColumnMajor )
Parameters
- value
- Type: T
Constant value for all elements. - size
- Type: ILNumericsSize
Size of new array - order (Optional)
- Type: ILNumericsStorageOrders
[Optional] storage order. Default: ColumnMajor.
Type Parameters
- T
- Element type
Return Value
Type: RetArrayTNew array according to size with all elements set to 'value'
Remarks
[ILNumerics Computing Engine]
See Also