|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ru.sscc.spline.BaseSpline
The parent class for all splines. It consists of 3 parts: a spline body is a constant part of spline shared by another splines and never modified on spline's life cycle; a spline data is a spline coefficients vector (nonmodified and nonshared); a spline workspace is a spline working area (contains only nonshared temporary information needed for spline value calculation).
Field Summary | |
protected SplineBody |
body
A spline body. |
protected RealContainer |
data
A container for spline coefficients. |
protected SplineWorkspace |
workspace
A spline workspace |
Constructor Summary | |
protected |
BaseSpline(SplineBody body,
RealContainer data)
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Clones the spline. |
int |
dimension()
Return a spline dimension (a number of independent variables). |
void |
flush()
Deletes workspace. |
SplineBody |
getBody()
Returns the spline body. |
RealContainer |
getContainer()
Returns the spline coefficients container. |
protected void |
prepareWorkspace(double point,
int index,
int count)
Prepares the workspace for an 1D spline derivative calculation at a point required. |
protected void |
prepareWorkspace(RealPointer point,
int count)
Prepares the workspace for a spline calculation at a point required. |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected transient SplineWorkspace workspace
protected RealContainer data
protected SplineBody body
Constructor Detail |
protected BaseSpline(SplineBody body, RealContainer data)
body
- a spline bodydata
- a spline coefficients containerMethod Detail |
public final int dimension()
public final void flush()
public final SplineBody getBody()
public final RealContainer getContainer()
public java.lang.Object clone()
protected void prepareWorkspace(double point, int index, int count)
point
- a point on the real axisindex
- a derivative indexcount
- a number of splines will be calculated laterprotected void prepareWorkspace(RealPointer point, int count)
point
- a point in the space of independent variablescount
- a number of splines will be calculated later
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |