ILNumerics - Technical Application Development
Assembly: ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
New array with the same shape as this array, having the element type converted to Tout.
[numpy API] Create a new array of specific element type and storage order based on this array.
[ILNumerics numpy Module]
Namespace: ILNumerics
Assembly: ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public static RetArray<Tout> astype<Tout>( this BaseArray<double> A, Nullable<StorageOrders> order = null ) where Tout : struct, new()
Parameters
- A
- Type: ILNumericsBaseArrayDouble
The source array. - order (Optional)
- Type: SystemNullableStorageOrders
[Optional] Storage order for the target array. Choices: null (default) - auto, ColumnMajor or RowMajor.
Type Parameters
- Tout
- The target element type. Must be a non-nullable value type.
Return Value
Type: RetArrayToutNew array with the same shape as this array, having the element type converted to Tout.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type BaseArrayDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
[ILNumerics numpy Module]
See Also