lt.monarch.math
Class Cubic

java.lang.Object
  extended by lt.monarch.math.Cubic

public class Cubic
extends java.lang.Object

this class represents a cubic polynomial


Constructor Summary
Constructor and Description
Cubic(double a, double b, double c, double d)
           
 
Method Summary
Modifier and Type Method and Description
 double eval(double u)
          evaluate cubic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cubic

public Cubic(double a,
             double b,
             double c,
             double d)
Method Detail

eval

public double eval(double u)
evaluate cubic