|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.optim.univariate.SearchInterval
public class SearchInterval
Search interval and (optional) start value.
Immutable class.
Constructor Summary | |
---|---|
SearchInterval(double lo,
double hi)
|
|
SearchInterval(double lo,
double hi,
double init)
|
Method Summary | |
---|---|
double |
getMax()
Gets the upper bound. |
double |
getMin()
Gets the lower bound. |
double |
getStartValue()
Gets the start value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchInterval(double lo, double hi, double init)
lo
- Lower bound.hi
- Upper bound.init
- Start value.
NumberIsTooLargeException
- if lo >= hi
.
OutOfRangeException
- if init < lo
or init > hi
.public SearchInterval(double lo, double hi)
lo
- Lower bound.hi
- Upper bound.
NumberIsTooLargeException
- if lo >= hi
.Method Detail |
---|
public double getMin()
public double getMax()
public double getStartValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |