public static class BracketedUnivariateSolver.Interval extends Object
Contains two end points and the value of the function at the two end points.
| Constructor and Description | 
|---|
| Interval(double leftAbscissa,
        double leftValue,
        double rightAbscissa,
        double rightValue)Construct a new interval with the given end points. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | getLeftAbscissa()Get the left abscissa. | 
| double | getLeftValue()Get the function value at  getLeftAbscissa(). | 
| double | getRightAbscissa()Get the right abscissa. | 
| double | getRightValue()Get the function value at  getRightAbscissa(). | 
| double | getSide(AllowedSolution allowed)Get the abscissa corresponding to the allowed side. | 
public Interval(double leftAbscissa,
                double leftValue,
                double rightAbscissa,
                double rightValue)
leftAbscissa - is the abscissa value at the left side of the interval.leftValue - is the function value at leftAbscissa.rightAbscissa - is the abscissa value on the right side of the interval.
                      Must be greater than or equal to leftAbscissa.rightValue - is the function value at rightAbscissa.public double getLeftAbscissa()
public double getRightAbscissa()
public double getLeftValue()
getLeftAbscissa().public double getRightValue()
getRightAbscissa().public double getSide(AllowedSolution allowed)
allowed - side of the root.Copyright © 2016–2020 Hipparchus.org. All rights reserved.