Interface NormalDistribution

    • Method Detail

      • getMean

        double getMean()
        Access the mean.
        Returns:
        mean for this distribution
      • setMean

        @Deprecated
        void setMean​(double mean)
        Deprecated.
        as of v2.1
        Modify the mean.
        Parameters:
        mean - for this distribution
      • getStandardDeviation

        double getStandardDeviation()
        Access the standard deviation.
        Returns:
        standard deviation for this distribution
      • setStandardDeviation

        @Deprecated
        void setStandardDeviation​(double sd)
        Deprecated.
        as of v2.1
        Modify the standard deviation.
        Parameters:
        sd - standard deviation for this distribution
      • density

        double density​(java.lang.Double x)
        Return the probability density for a particular point.
        Specified by:
        density in interface HasDensity<java.lang.Double>
        Parameters:
        x - The point at which the density should be computed.
        Returns:
        The pdf at point x.