|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface represents vectorial functions of one real variable.
This interface should be implemented by all vectorial functions that can be evaluated at any point. This does not imply that an explicit definition is available, a function given by an implicit function that should be numerically solved for each point for example is considered a computable function.
The ComputableFunctionSampler class can be used to
transform classes implementing this interface into classes
implementing the SampledFunction interface.
Several numerical algorithms (Gauss-Legendre integrators for example) need to choose themselves the evaluation points, so they can handle only objects that implement this interface.
ComputableFunctionIntegrator,
SampledFunction| Method Summary | |
int |
getDimension()
Get the dimension of the vectorial values of the function. |
double[] |
valueAt(double x)
Get the value of the function at the specified abscissa. |
| Method Detail |
public int getDimension()
public double[] valueAt(double x)
throws FunctionException
x - current abscissa
FunctionException - if something goes wrong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||