Data.Complex.Integrate
Description
Integration of complex and real functions along straight lines
- integrate :: Fractional v => (v -> v) -> Integer -> v -> v -> v
Documentation
Arguments
| :: Fractional v | |
| => (v -> v) | Function to be integrated |
| -> Integer | Number of discretization segments |
| -> v | Lower limit of the integration, and it's complex number |
| -> v | Upper limit of the integration, and it's complex number, too |
| -> v | Integration result |
Integration of complex function using Simpson's rule