Class ConvolutionExponential
- java.lang.Object
-
- org.hortonmachine.gears.utils.math.integration.SimpsonIntegral
-
- org.hortonmachine.gears.utils.math.integration.ConvolutionExponential
-
- All Implemented Interfaces:
IntegrableFunction
public class ConvolutionExponential extends SimpsonIntegral implements IntegrableFunction
- Author:
- Silvia Franceschi (www.hydrologis.com)
-
-
Field Summary
-
Fields inherited from class org.hortonmachine.gears.utils.math.integration.SimpsonIntegral
accuracy, lowerlimit, maxsteps, SIMPSON, strapezoid, TRAPEZOIDAL, upperlimit
-
-
Constructor Summary
Constructors Constructor Description ConvolutionExponential(double lowerintegrationlimit, double upperintegrationlimit, int maximalsteps, double integrationaccuracy, double invasoConstant, LinearListInterpolator timeDischargeInterpolator)Calculates the integral of the exponential equation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected doubleequation(double time)Equation to integratedoubleintegrate()Performs integration by means of the method of the function that implements it.-
Methods inherited from class org.hortonmachine.gears.utils.math.integration.SimpsonIntegral
simpson, trapezoid
-
-
-
-
Constructor Detail
-
ConvolutionExponential
public ConvolutionExponential(double lowerintegrationlimit, double upperintegrationlimit, int maximalsteps, double integrationaccuracy, double invasoConstant, LinearListInterpolator timeDischargeInterpolator)Calculates the integral of the exponential equation- Parameters:
lowerintegrationlimit-upperintegrationlimit-maximalsteps-integrationaccuracy-invasoConstant-timeDischargeInterpolator-
-
-
Method Detail
-
equation
protected double equation(double time)
Description copied from class:SimpsonIntegralEquation to integrate- Specified by:
equationin classSimpsonIntegral- Parameters:
time- - point in which to calculate the function- Returns:
-
integrate
public double integrate()
Description copied from interface:IntegrableFunctionPerforms integration by means of the method of the function that implements it.- Specified by:
integratein interfaceIntegrableFunction- Returns:
- the value of the integration
-
-