public interface ComputableFunctionIntegrator
The classes which are devoted to integrate scalar functions
should implement this interface. The functions which can be handled
should implement the ComputableFunction interface.
ComputableFunction| Modifier and Type | Method and Description |
|---|---|
double |
integrate(ComputableFunction f,
double a,
double b)
Integrate a function over a defined range.
|
double integrate(ComputableFunction f, double a, double b) throws FunctionException
f - function to integratea - first bound of the range (can be lesser or greater than b)b - second bound of the range (can be lesser or greater than a)FunctionException - if the underlying function throws oneCopyright © 2001-2007 Luc Maisonobe. All Rights Reserved.