org.jscience.mathematics.analysis.quadrature
Interface PrimitiveMappingNDIntegrator

All Known Implementing Classes:
GaussLegendreNDIntegrator

public interface PrimitiveMappingNDIntegrator

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.

Warning: This is integration for functions of 1 variable into many variables, of course.

See Also:
PrimitiveMappingND

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

Method Detail

integrate

double[] integrate(PrimitiveMappingND f,
                   double a,
                   double b)
                   throws MappingException
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:
MappingException - if the underlying function throws one