org.spaceroots.mantissa.quadrature.vectorial
Interface SampledFunctionIntegrator
-
- All Known Implementing Classes:
- EnhancedSimpsonIntegrator, RiemannIntegrator, TrapezoidIntegrator
public interface SampledFunctionIntegratorThis interface represents an integrator for vectorial samples.The classes which are devoted to integrate vectorial samples should implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description double[]integrate(SampledFunctionIterator iter)Integrate a sample over its overall range
-
-
-
Method Detail
-
integrate
double[] integrate(SampledFunctionIterator iter) throws ExhaustedSampleException, FunctionException
Integrate a sample over its overall range- Parameters:
iter- iterator over the sample to integrate- Returns:
- value of the integral over the sample range
- Throws:
ExhaustedSampleException- if the sample does not have enough points for the integration schemeFunctionException- if the underlying sampled function throws one
-
-
DataMelt 3.0 © DataMelt by jWork.ORG