ILNumerics Ultimate VS

ExtensionMethodsastypeTout Method (BaseArrayByte, NullableStorageOrders)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
[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.7503.3146)

public static RetArray<Tout> astype<Tout>(
	this BaseArray<byte> A,
	Nullable<StorageOrders> order = null
where Tout : struct, new()


Type: ILNumericsBaseArrayByte
The source array.
order (Optional)
Type: SystemNullableStorageOrders
[Optional] Storage order for the target array. Choices: null (default) - auto, ColumnMajor or RowMajor.

Type Parameters

The target element type. Must be a non-nullable value type.

Return Value

Type: RetArrayTout
New 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 BaseArrayByte. 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).

[ILNumerics numpy Module]

See Also