• This function calculate the norm of a vector.

    Parameters

    • array: NumberArray

      array

    Returns number

    • calculated norm

    Example

    xNorm([3, 4]) -> 5