ILNumerics Ultimate VS

ExtensionMethods.astype<Tout> Method (BaseArray<Int64>, Nullable<StorageOrders>)

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.0.0 (5.5.7503.3146)
Syntax

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

Parameters

A
Type: ILNumerics.BaseArray<Int64>
The source array.
order (Optional)
Type: System.Nullable<StorageOrders>
[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: RetArray<Tout>
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 BaseArray<Int64>. 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

Reference