This function

undefined or a new array

length of the output array

  • Type Parameters

    • T extends NumberArray = Float64Array<ArrayBufferLike>

    Parameters

    • output: T
    • length: number

    Returns T

  • Parameters

    • output: undefined
    • length: number

    Returns Float64Array

  • Type Parameters

    • T extends NumberArray = Float64Array<ArrayBufferLike>

    Parameters

    • output: undefined | T
    • length: number

    Returns T