Back to Numerical Integration (QUADPACK)
quad.quadSingularFns.quad_cauchy
Compute the Cauchy principal value of f(x)/(x-c) over [a, b].
Syntax
quad.quadSingularFns.quad_cauchy(f, a, b, options)
Description
Compute the Cauchy principal value of f(x)/(x-c) over [a, b]. Uses QUADPACK's DQAWC routine. Computes: P.V. ∫[a,b] f(x) / (x-c) dx where c is a point in the open interval (a, b).
Parameters
| Name | Description |
|---|---|
| f | - The integrand function f(x) (the numerator) |
| a | - Lower limit of integration |
| b | - Upper limit of integration |
| options | - Integration options (c is required) |
Returns
Promise<QuadResult>