ILNumerics Ultimate VS

ExtensionMethodsastypeTout Method (BaseArrayUInt64, 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.0.0 (5.5.7503.3146)
Syntax

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

Parameters

A
Type: ILNumericsBaseArrayUInt64
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: 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 BaseArrayUInt64. 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