Function permute

  • Shuffle a data array in place using the given permutation.

    Type Parameters

    • T

    Parameters

    • data: T[]
    • permutation: number[]

    Returns T[]

Generated using TypeDoc