|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Interpolation1D
General interpolation / approximation interface (mapping from <A,B> to RN).
Field Summary |
---|
Fields inherited from interface cz.cuni.jagrlib.iface.Property |
---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
Method Summary | |
---|---|
boolean |
compute(double t)
Compute the interpolation / approximation (front-end only). |
boolean |
getDomain(double[] dom)
Returns domain of the T parameter. |
double |
interpolate(double t)
Compute scalar interpolation / approximation. |
boolean |
interpolate(double t,
double[] res)
Compute vector interpolation / approximation. |
boolean |
setAttribute(double t,
double[] attr)
Sets a knot attribute (whatever it is) for value of T. |
boolean |
setDomain(double[] dom)
Sets domain of the T parameter. |
Methods inherited from interface cz.cuni.jagrlib.iface.Property |
---|
commit, get, set |
Method Detail |
---|
boolean compute(double t)
t
- T parameter.
double interpolate(double t)
t
- T parameter.
boolean interpolate(double t, double[] res)
t
- T parameter.res
- Pre-allocated result array.
boolean getDomain(double[] dom)
dom
- Domain array (dom[0] = Tmin, dom[1] = Tmax).
boolean setDomain(double[] dom)
dom
- Domain array (dom[0] = Tmin, dom[1] = Tmax).
boolean setAttribute(double t, double[] attr)
t
- T parameter.attr
- Attribute array (semanthics is not defined).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |