Class InverseFunction

    • Field Detail

      • epsilon

        protected final double epsilon
        The allowed error epsilon for embedded bisection method.
    • Constructor Detail

      • InverseFunction

        public InverseFunction​(ReliabilityFunction reliabilityFunction,
                               double epsilon)
        Constructs an InverseFunction with a given ReliabilityFunction and an error epsilon for the embedded bisection method.
        Parameters:
        reliabilityFunction - the reliabilityFunction
        epsilon - the error of the bisection method
    • Method Detail

      • getY

        public double getY​(double x)
        Description copied from interface: Function
        Returns the y value for y = f(x).
        Parameters:
        x - the x value
        Returns:
        the y for y = f(x)