Tensor<T>.MoveAxis Method

Moves an axis to a new position in a tensor.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
public abstract Tensor<T> MoveAxis(
	int source,
	int destination
)

Parameters

source  Int32
The axis to move.
destination  Int32
The desired new position of the axis.

Return Value

Tensor<T>
A view of the tensor with axis source moved to position destination.

See Also