ts-playground
    Preparing search index...

    Function average

    • Computes the average of an array of radian values. The average means the average of the angles. The average will be in the range [-π, π).

      Parameters

      • rads: number[]

      Returns number

      The average of the radian values in the range [-π, π).