Function standardNormaldist

  • Category

    Calculate the standard normal distribution.

    Time complexity: O(1)

    Space complexity: O(1)

    Parameters

    • x: number

      Sample to calculate the normal distribution of

    Returns number

    The standard normal distribution

    Math

    standardNormaldist(0) === normaldist(0, 1, 0); // true
    

    normaldist For calculating the normal distribution