Interface ExponentialDistribution

    • Method Detail

      • setMean

        @Deprecated
        void setMean​(double mean)
        Deprecated.
        as of v2.1
        Modify the mean.
        Parameters:
        mean - the new mean.
      • getMean

        double getMean()
        Access the mean.
        Returns:
        the mean.
      • 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.