public class ComplexUnivariateIntegrator extends Object
Constructor and Description |
---|
ComplexUnivariateIntegrator(UnivariateIntegrator integrator)
Crate a complex integrator from a real integrator.
|
Modifier and Type | Method and Description |
---|---|
Complex |
integrate(int maxEval,
CalculusFieldUnivariateFunction<Complex> f,
Complex start,
Complex... path)
Integrate a function along a polyline path between any number of points.
|
Complex |
integrate(int maxEval,
CalculusFieldUnivariateFunction<Complex> f,
Complex start,
Complex end)
Integrate a function along a straight path between points.
|
public ComplexUnivariateIntegrator(UnivariateIntegrator integrator)
integrator
- underlying real integrator to usepublic Complex integrate(int maxEval, CalculusFieldUnivariateFunction<Complex> f, Complex start, Complex end)
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 pathpublic Complex integrate(int maxEval, CalculusFieldUnivariateFunction<Complex> f, Complex start, Complex... path)
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 verticesCopyright © 2016-2021 CS GROUP. All rights reserved.