Function cloneMatrix

  • Returns a cloned copy of the provided matrix

    Type Parameters

    • T

    Parameters

    • matrix: T[][]

    Returns T[][]