ILNumerics Ultimate VS

ExtensionMethodscopyT1, LocalT, InT, OutT, RetT, StorageT Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
[numpy API] Returns a copy of this array, optionally determining the storage order.

[ILNumerics numpy Module]

Namespace:  ILNumerics
Assembly:  ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetT copy<T1, LocalT, InT, OutT, RetT, StorageT>(
	this ConcreteArray<T1, LocalT, InT, OutT, RetT, StorageT> A,
	Nullable<StorageOrders> order = null
)
where LocalT : Mutable<T1, LocalT, InT, OutT, RetT, StorageT>
where InT : Immutable<T1, LocalT, InT, OutT, RetT, StorageT>
where OutT : Mutable<T1, LocalT, InT, OutT, RetT, StorageT>
where RetT : ConcreteRetArray<T1, LocalT, InT, OutT, RetT, StorageT>
where StorageT : new(), BaseStorage<T1, LocalT, InT, OutT, RetT, StorageT>

Parameters

A
Type: ILNumerics.Core.ArraysConcreteArrayT1, LocalT, InT, OutT, RetT, StorageT
The source array.
order (Optional)
Type: SystemNullableStorageOrders
[Optional] The destination storage order. Default: (null) - automatically determine the best (fastest) storage order. If no preferred storage order can be determined DefaultStorageOrder is used.

Type Parameters

T1
LocalT
InT
OutT
RetT
StorageT

Return Value

Type: RetT
Copy of this array or this array if no copy is necessary.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ConcreteArrayT1, LocalT, InT, OutT, RetT, StorageT. 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

Due to the automatic memory management of ILNumerics this method is rarely required.

[ILNumerics numpy Module]

See Also

Reference