jhplot.stat
Class Interpolator.Cubic

java.lang.Object
  extended by jhplot.stat.Interpolator.Cubic
Enclosing class:
Interpolator

public class Interpolator.Cubic
extends Object

represents a cubic polynomial. a + b*u + c*u^2 +d*u^3


Constructor Summary
Interpolator.Cubic(double a, double b, double c, double d)
          a + b*u + c*u^2 +d*u^3
 
Method Summary
 double eval(float u)
          Evaluate cubic function
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interpolator.Cubic

public Interpolator.Cubic(double a,
                          double b,
                          double c,
                          double d)
a + b*u + c*u^2 +d*u^3

Parameters:
a -
b -
c -
d -
Method Detail

eval

public double eval(float u)
Evaluate cubic function

Parameters:
u -
Returns:


jHepWork 3.0 ©