Function cdfGauss

  • Cumulative distribution function for Gaussian (normal) distribution.

    Parameters

    • mean: number = 0

      Mean of the input value.

    • deviation: number = 1

      The standard deviation of the input value.

    Returns Mapper<number>

    seq(3).map(cdfGauss(0.5, 0.3));
    // ⮕ [ 0.04, 0.5, 0.95 ]