|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--opale.mathtools.Polynom
This class represents a Polynom with real coefficients. The coefficients are coded by a subclass of PolynomModel.
PolynomModel| Constructor Summary | |
Polynom(int n,
double[] tab)
Constructs a polynom of degree n, with the coefficients in the array tab. |
|
| Method Summary | |
double |
compute(double x)
Evaluates the polynom at the point x. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Polynom(int n,
double[] tab)
ClassicPolynomModel, i.e. all the coefficients are stored.int - n, the degreedouble[] - tab, the array of coefficients| Method Detail |
public double compute(double x)
double - x, the point x
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||