org.spaceroots.mantissa.quadrature.vectorial
Interface ComputableFunctionIntegrator

All Known Implementing Classes:
GaussLegendreIntegrator

public interface ComputableFunctionIntegrator

This interface represents an integrator for vectorial functions.

The classes which are devoted to integrate vectorial functions should implement this interface. The functions which can be handled should implement the ComputableFunction interface.

Version:
$Id: ComputableFunctionIntegrator.java 1231 2002-03-12 20:07:04Z luc $
Author:
L. Maisonobe
See Also:
ComputableFunction

Method Summary
 double[] integrate(ComputableFunction f, double a, double b)
          Integrate a function over a defined range.
 

Method Detail

integrate

public double[] integrate(ComputableFunction f,
                          double a,
                          double b)
                   throws FunctionException
Integrate a function over a defined range.

Parameters:
f - function to integrate
a - 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)
Returns:
value of the integral over the range
Throws:
FunctionException - if the underlying function throws one


Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.