Documentation of 'org.spaceroots.mantissa.quadrature.scalar.ComputableFunctionIntegrator' Java class
ComputableFunctionIntegrator
org.spaceroots.mantissa.quadrature.scalar

Interface ComputableFunctionIntegrator

  • All Known Implementing Classes:
    GaussLegendreIntegrator


    public interface ComputableFunctionIntegrator
    This interface represents an integrator for scalar functions.

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

    See Also:
    ComputableFunction
    • Method Detail

      • integrate

        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

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.