Class FieldComplexUnivariateIntegrator<T extends CalculusFieldElement<T>>

java.lang.Object
org.hipparchus.complex.FieldComplexUnivariateIntegrator<T>
Type Parameters:
T - the type of the field elements

public class FieldComplexUnivariateIntegrator<T extends CalculusFieldElement<T>> extends Object
Wrapper to perform univariate complex integration using an underlying real integration algorithms.
Since:
2.0
  • Constructor Details

    • FieldComplexUnivariateIntegrator

      public FieldComplexUnivariateIntegrator(FieldUnivariateIntegrator<T> integrator)
      Crate a complex integrator from a real integrator.
      Parameters:
      integrator - underlying real integrator to use
  • Method Details

    • integrate

      public FieldComplex<T> integrate(int maxEval, CalculusFieldUnivariateFunction<FieldComplex<T>> f, FieldComplex<T> start, FieldComplex<T> end)
      Integrate a function along a straight path between points.
      Parameters:
      maxEval - maximum number of evaluations (real and imaginary parts are evaluated separately, so up to twice this number may be used)
      f - the integrand function
      start - start point of the integration path
      end - end point of the integration path
      Returns:
      the value of integral along the straight path
    • integrate

      public FieldComplex<T> integrate(int maxEval, CalculusFieldUnivariateFunction<FieldComplex<T>> f, FieldComplex<T> start, FieldComplex<T>... path)
      Integrate a function along a polyline path between any number of points.
      Parameters:
      maxEval - maximum number of evaluations (real and imaginary parts are evaluated separately and each path segments are also evaluated separately, so up to 2n times this number may be used for n segments)
      f - the integrand function
      start - start point of the integration path
      path - successive points defining the path vertices
      Returns:
      the value of integral along the polyline path