Function normaldist

  • Calculate the normal distribution.

    Time complexity: O(1)

    Space complexity: O(1)

    Parameters

    • x: number

      Sample to calculate the normal distribution of

    • standardDeviation: number

      Standard deviation

    • mean: number

      Mean

    Returns number

    The normal distribution

    Math

    normaldist(0, 1, 0);
    

    standardNormaldist For calculating the standard normal distribution