org.jgraph.util.Spline Class Reference

List of all members.

Public Member Functions

 Spline (double[] xx, double[] yy)
void setValues (double[] xx, double[] yy)
double getValue (double x)
double getDx (double x)
void solve (double[][] A, double[] b)

Private Member Functions

void calculateCoefficients ()

Private Attributes

double[] xx
double[] yy
double[] a
double[] b
double[] c
double[] d

Detailed Description

Interpolates given values by B-Splines.

Author:
krueger


Constructor & Destructor Documentation

org.jgraph.util.Spline.Spline double[]  xx,
double[]  yy
 

Creates a new Spline.

Parameters:
xx 
yy 


Member Function Documentation

void org.jgraph.util.Spline.calculateCoefficients  )  [private]
 

Calculates the Spline coefficients.

double org.jgraph.util.Spline.getDx double  x  ) 
 

Returns the first derivation at x.

Parameters:
x 
Returns:
the first derivation at x

double org.jgraph.util.Spline.getValue double  x  ) 
 

Returns an interpolated value.

Parameters:
x 
Returns:
the interpolated value

void org.jgraph.util.Spline.setValues double[]  xx,
double[]  yy
 

Set values for this Spline.

Parameters:
xx 
yy 

void org.jgraph.util.Spline.solve double  A[][],
double[]  b
 

Solves Ax=b and stores the solution in b.


Member Data Documentation

double [] org.jgraph.util.Spline.a [private]
 

double [] org.jgraph.util.Spline.b [private]
 

double [] org.jgraph.util.Spline.c [private]
 

double [] org.jgraph.util.Spline.d [private]
 

double [] org.jgraph.util.Spline.xx [private]
 

double [] org.jgraph.util.Spline.yy [private]
 


The documentation for this class was generated from the following file:
Generated on Sun May 28 19:13:18 2006 for Digimod by  doxygen 1.4.6-NO