T
- the element typepublic static class BracketedRealFieldUnivariateSolver.Interval<T extends RealFieldElement<T>> extends Object
Contains two end points and the value of the function at the two end points.
Constructor and Description |
---|
Interval(T leftAbscissa,
T leftValue,
T rightAbscissa,
T rightValue)
Construct a new interval with the given end points.
|
Modifier and Type | Method and Description |
---|---|
T |
getLeftAbscissa()
Get the left abscissa.
|
T |
getLeftValue()
Get the function value at
getLeftAbscissa() . |
T |
getRightAbscissa()
Get the right abscissa.
|
T |
getRightValue()
Get the function value at
getRightAbscissa() . |
T |
getSide(AllowedSolution allowed)
Get the abscissa corresponding to the allowed side.
|
public Interval(T leftAbscissa, T leftValue, T rightAbscissa, T 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 T getLeftAbscissa()
public T getRightAbscissa()
public T getLeftValue()
getLeftAbscissa()
.public T getRightValue()
getRightAbscissa()
.public T getSide(AllowedSolution allowed)
allowed
- side of the root.Copyright © 2016 Hipparchus.org. All rights reserved.