|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.interpolation.DoubleCubicSplineInterpolator
public class DoubleCubicSplineInterpolator
DOCUMENT ME!
| Constructor Summary | |
|---|---|
|
DoubleCubicSplineInterpolator(double[] x,
double[] y)
Creates a new DoubleCubicSplineInterpolator object. |
protected |
DoubleCubicSplineInterpolator(int nPoints)
Creates a new DoubleCubicSplineInterpolator object. |
| Method Summary | |
|---|---|
protected void |
calcDeriv()
DOCUMENT ME! |
protected double[] |
getDeriv()
DOCUMENT ME! |
double |
map(double xx)
DOCUMENT ME! |
protected static double |
map(double xx,
double[] x,
double[] y,
double[] deriv)
DOCUMENT ME! |
double |
map(float x)
DOCUMENT ME! |
double |
map(int x)
DOCUMENT ME! |
double |
map(long x)
DOCUMENT ME! |
int |
numInputDimensions()
Get the dimension of the input values of the function. |
int |
numOutputDimensions()
Get the dimension of the output values of the function. |
protected static DoubleCubicSplineInterpolator[] |
oneDarray(int n,
int m)
DOCUMENT ME! |
protected void |
resetData(double[] x,
double[] y)
DOCUMENT ME! |
ValuedPair |
samplePointAt(int index)
Get the abscissa and value of the sample at the specified index. |
protected void |
setDeriv(double[] deriv)
DOCUMENT ME! |
protected void |
setDeriv(double yp1,
double ypn)
DOCUMENT ME! |
protected void |
setDerivLimits()
DOCUMENT ME! |
protected void |
setDerivLimits(double yp1,
double ypn)
DOCUMENT ME! |
int |
size()
Get the number of points in the sample. |
protected static DoubleCubicSplineInterpolator |
zero(int n)
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleCubicSplineInterpolator(double[] x,
double[] y)
x - DOCUMENT ME!y - DOCUMENT ME!protected DoubleCubicSplineInterpolator(int nPoints)
nPoints - DOCUMENT ME!| Method Detail |
|---|
public int size()
size in interface SampledMappingpublic int numInputDimensions()
numInputDimensions in interface SampledMappingpublic int numOutputDimensions()
numOutputDimensions in interface SampledMapping
protected void resetData(double[] x,
double[] y)
x - DOCUMENT ME!y - DOCUMENT ME!protected static DoubleCubicSplineInterpolator zero(int n)
n - DOCUMENT ME!
protected static DoubleCubicSplineInterpolator[] oneDarray(int n,
int m)
n - DOCUMENT ME!m - DOCUMENT ME!
protected void setDerivLimits(double yp1,
double ypn)
yp1 - DOCUMENT ME!ypn - DOCUMENT ME!protected void setDerivLimits()
protected void setDeriv(double yp1,
double ypn)
yp1 - DOCUMENT ME!ypn - DOCUMENT ME!protected double[] getDeriv()
protected void setDeriv(double[] deriv)
deriv - DOCUMENT ME!protected void calcDeriv()
public double map(int x)
map in interface PrimitiveMappingx - DOCUMENT ME!
public double map(long x)
map in interface PrimitiveMappingx - DOCUMENT ME!
public double map(float x)
map in interface PrimitiveMappingx - DOCUMENT ME!
public double map(double xx)
map in interface PrimitiveMappingxx - DOCUMENT ME!
org.jscience.mathematics.analysis.IntervalList.
protected static double map(double xx,
double[] x,
double[] y,
double[] deriv)
xx - DOCUMENT ME!x - DOCUMENT ME!y - DOCUMENT ME!deriv - DOCUMENT ME!
public ValuedPair samplePointAt(int index)
samplePointAt in interface SampledMappingindex - index in the sample, should be between 0 and size()
- 1
java.lang.ArrayIndexOutOfBoundsException - if the index is wrong
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||