|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.interpolation.DoubleCubicSplineInterpolator2D
public class DoubleCubicSplineInterpolator2D
DOCUMENT ME!
| Constructor Summary | |
|---|---|
|
DoubleCubicSplineInterpolator2D(double[] x1,
double[] x2,
double[][] y)
Creates a new DoubleCubicSplineInterpolator2D object. |
protected |
DoubleCubicSplineInterpolator2D(int nP,
int mP)
Creates a new DoubleCubicSplineInterpolator2D object. |
| Method Summary | |
|---|---|
protected void |
calcDeriv()
DOCUMENT ME! |
protected double[][] |
getDeriv()
DOCUMENT ME! |
double[] |
map(double[] x)
DOCUMENT ME! |
double |
map(double xx1,
double xx2)
DOCUMENT ME! |
double[] |
map(float[] x)
DOCUMENT ME! |
double[] |
map(int[] x)
DOCUMENT ME! |
double[] |
map(long[] x)
DOCUMENT ME! |
int |
numInputDimensions()
The dimension of variable parameter. |
int |
numOutputDimensions()
The dimension of the result values. |
protected static DoubleCubicSplineInterpolator2D[] |
oneDarray(int nP,
int mP,
int lP)
DOCUMENT ME! |
protected void |
resetData(double[] x1,
double[] x2,
double[][] y)
DOCUMENT ME! |
ValuedPair |
samplePointAt(int index)
Get the abscissa and value of the sample at the specified index. |
void |
setDeriv(double[][] d2ydx2)
DOCUMENT ME! |
int |
size()
Get the number of points in the sample. |
protected static DoubleCubicSplineInterpolator2D |
zero(int nP,
int mP)
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleCubicSplineInterpolator2D(double[] x1,
double[] x2,
double[][] y)
x1 - DOCUMENT ME!x2 - DOCUMENT ME!y - DOCUMENT ME!
protected DoubleCubicSplineInterpolator2D(int nP,
int mP)
nP - DOCUMENT ME!mP - DOCUMENT ME!| Method Detail |
|---|
public int numInputDimensions()
numInputDimensions in interface PrimitiveMappingNDnumInputDimensions in interface SampledMappingpublic int numOutputDimensions()
numOutputDimensions in interface PrimitiveMappingNDnumOutputDimensions in interface SampledMappingpublic int size()
size in interface SampledMapping
protected void resetData(double[] x1,
double[] x2,
double[][] y)
x1 - DOCUMENT ME!x2 - DOCUMENT ME!y - DOCUMENT ME!
protected static DoubleCubicSplineInterpolator2D zero(int nP,
int mP)
nP - DOCUMENT ME!mP - DOCUMENT ME!
protected static DoubleCubicSplineInterpolator2D[] oneDarray(int nP,
int mP,
int lP)
nP - DOCUMENT ME!mP - DOCUMENT ME!lP - DOCUMENT ME!
protected void calcDeriv()
protected double[][] getDeriv()
public void setDeriv(double[][] d2ydx2)
d2ydx2 - DOCUMENT ME!public double[] map(int[] x)
map in interface PrimitiveMappingNDx - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double[] map(long[] x)
map in interface PrimitiveMappingNDx - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double[] map(float[] x)
map in interface PrimitiveMappingNDx - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double[] map(double[] x)
map in interface PrimitiveMappingNDx - DOCUMENT ME!
org.jscience.mathematics.analysis.Domain.
public double map(double xx1,
double xx2)
xx1 - DOCUMENT ME!xx2 - 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 | ||||||||