matician - v2.0.0
    Preparing search index...

    Class Normal

    Class representing the Normal (Gaussian) distribution.

    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • mean: number = 0

        The mean (μ) of the distribution.

      • stddev: number = 1

        The standard deviation (σ) of the distribution.

      Returns Normal

    Methods

    • Cumulative distribution function (CDF) of the normal distribution.

      Parameters

      • x: number

        The input value.

      Returns number

      The probability that a value is ≤ x.

    • Probability density function (PDF) of the normal distribution.

      Parameters

      • x: number

        The input value.

      Returns number

      The value of the PDF at x.