Show / Hide Table of Contents

    Method swapDim

    val swapDim: int -> int -> ITensor -> ITensor

    Swaps the specified dimensions of the tensor.

    Declaration
    val swapDim: ax1:int -> ax2:int -> a:ITensor -> ITensor
    Parameters
    Type Name Description
    int ax1

    The dimension to swap.

    int ax2

    The dimension to swap with.

    ITensor a

    The tensor to operate on.

    Returns
    Type Description
    ITensor

    The tensor with the dimensions swapped.

    See Also
    static member swapDim: int -> int -> Tensor<'T> -> Tensor<'T>
    Back to top Generated by DocFX