• This function calculate the norm of a vector.

    Parameters

    • array: NumberArray

      array

    Returns number

    • calculated norm
    xNorm([3, 4]) -> 5