|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hermit.geometry.spline.Cubic
public final class Cubic
Representation of a cubic polynomial.
Constructor Summary | |
---|---|
Cubic(double a,
double b,
double c,
double d)
Create a cubic polynomial of form a + b*x + c*x^2 + d*x^3. |
Method Summary | |
---|---|
double |
eval(double x)
Evaluate the polynomial for a given value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cubic(double a, double b, double c, double d)
a
- A coefficient.b
- B coefficient.c
- C coefficient.d
- D coefficient.Method Detail |
---|
public double eval(double x)
x
- X value to evaluate for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |