Class NoBracketingException

All Implemented Interfaces:
Serializable, ExceptionContextProvider

public class NoBracketingException extends MathIllegalArgumentException
Exception to be thrown when function values have the same sign at both ends of an interval.
Since:
3.0
See Also:
  • Constructor Details

    • NoBracketingException

      public NoBracketingException(double lo, double hi, double fLo, double fHi)
      Construct the exception.
      Parameters:
      lo - Lower end of the interval.
      hi - Higher end of the interval.
      fLo - Value at lower end of the interval.
      fHi - Value at higher end of the interval.
    • NoBracketingException

      public NoBracketingException(Localizable specific, double lo, double hi, double fLo, double fHi, Object... args)
      Construct the exception with a specific context.
      Parameters:
      specific - Contextual information on what caused the exception.
      lo - Lower end of the interval.
      hi - Higher end of the interval.
      fLo - Value at lower end of the interval.
      fHi - Value at higher end of the interval.
      args - Additional arguments.
  • Method Details

    • getLo

      public double getLo()
      Get the lower end of the interval.
      Returns:
      the lower end.
    • getHi

      public double getHi()
      Get the higher end of the interval.
      Returns:
      the higher end.
    • getFLo

      public double getFLo()
      Get the value at the lower end of the interval.
      Returns:
      the value at the lower end.
    • getFHi

      public double getFHi()
      Get the value at the higher end of the interval.
      Returns:
      the value at the higher end.