All Packages Class Hierarchy This Package Previous Next Index
Class ia_math.RealInterval
java.lang.Object
|
+----ia_math.RealInterval
- public class RealInterval
- extends Object
- implements Cloneable
the class RealInterval represents closed intervals of real numbers
-
RealInterval()
- construct the interval [-infty,infty]
-
RealInterval(double)
-
-
RealInterval(double, double)
-
-
clone()
-
-
emptyInterval()
-
-
equals(RealInterval)
-
-
fullInterval()
-
-
hi()
-
-
intersect(RealInterval)
-
-
lo()
-
-
main(String[])
- a test procedure which generates a few intervals
and adds and multiplies them
-
nonEmpty()
-
-
toString()
-
-
union(RealInterval)
-
RealInterval
public RealInterval(double lo,
double hi) throws IAException
RealInterval
public RealInterval(double x) throws IAException
RealInterval
public RealInterval()
- construct the interval [-infty,infty]
lo
public double lo()
hi
public double hi()
equals
public boolean equals(RealInterval x)
intersect
public void intersect(RealInterval x) throws IAException
union
public void union(RealInterval x) throws IAException
nonEmpty
public boolean nonEmpty()
toString
public String toString()
- Overrides:
- toString in class Object
clone
public Object clone()
- Overrides:
- clone in class Object
emptyInterval
public static RealInterval emptyInterval()
fullInterval
public static RealInterval fullInterval()
main
public static void main(String args[])
- a test procedure which generates a few intervals
and adds and multiplies them
All Packages Class Hierarchy This Package Previous Next Index