Package org.hipparchus.complex
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 Summary
Constructors Constructor Description FieldComplexUnivariateIntegrator(FieldUnivariateIntegrator<T> integrator)
Crate a complex integrator from a real integrator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldComplex<T>
integrate(int maxEval, CalculusFieldUnivariateFunction<FieldComplex<T>> f, FieldComplex<T> start, FieldComplex<T> end)
Integrate a function along a straight path between points.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.
-
-
-
Constructor Detail
-
FieldComplexUnivariateIntegrator
public FieldComplexUnivariateIntegrator(FieldUnivariateIntegrator<T> integrator)
Crate a complex integrator from a real integrator.- Parameters:
integrator
- underlying real integrator to use
-
-
Method Detail
-
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 functionstart
- start point of the integration pathend
- 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 functionstart
- start point of the integration pathpath
- successive points defining the path vertices- Returns:
- the value of integral along the polyline path
-
-