Class ReturnPeriod

    • Constructor Detail

      • ReturnPeriod

        public ReturnPeriod​(UnivariateEVD evd)
        Construct the return period function for a given univariate extreme value distribution.
        Parameters:
        evd - the univariate extreme value distribution
      • ReturnPeriod

        public ReturnPeriod​(UnivariateRealFunction cdfFunction)
        Construct the return period function with the cumulative distribution function of a univariate extreme value distribution. This is suitable when only the cdf is known.
        Parameters:
        cdfFunction - the cdf of the univariate extreme value distribution
    • Method Detail

      • evaluate

        public double evaluate​(double x)
        Description copied from interface: UnivariateRealFunction
        Evaluate y = f(x).
        Parameters:
        x - x
        Returns:
        f(x)