ILNumerics Ultimate VS

ExtensionMethodstransposeT1, LocalT, InT, OutT, RetT, StorageT Method (ConcreteArrayT1, LocalT, InT, OutT, RetT, StorageT)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
[numpy API] Returns a version of this array having the dimensions swapped (reversed).

[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 transpose<T1, LocalT, InT, OutT, RetT, StorageT>(
	this ConcreteArray<T1, LocalT, InT, OutT, RetT, StorageT> A
)
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

Type Parameters

T1
LocalT
InT
OutT
RetT
StorageT

Return Value

Type: RetT
New array based on this array with the same number of elements but reordered dimensions.

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

This function does not alter the source array. Instead, it creates a lazy copy and reorders the dimensions on the copy.

[ILNumerics numpy Module]

See Also

Reference

Size.SwapDimensions