|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.geometry.euclidean.oned.Interval
public class Interval
This class represents a 1D interval.
IntervalsSet| Constructor Summary | |
|---|---|
Interval(double lower,
double upper)
Simple constructor. |
|
| Method Summary | |
|---|---|
double |
getLength()
Get the length of the interval. |
double |
getLower()
Get the lower bound of the interval. |
double |
getMidPoint()
Get the midpoint of the interval. |
double |
getUpper()
Get the upper bound of the interval. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Interval(double lower,
double upper)
lower - lower bound of the intervalupper - upper bound of the interval| Method Detail |
|---|
public double getLower()
public double getUpper()
public double getLength()
public double getMidPoint()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||