| Copyright | Copyright 2024 Yoo Chung |
|---|---|
| License | Apache-2.0 |
| Maintainer | dev@chungyc.org |
| Safe Haskell | Safe-Inferred |
| Language | GHC2021 |
Symtegration.Integration.Exponential
Description
Supports basic integration of exponential and logarithmic functions. This does not support the integration of anything else, even if it is trivial like integrating a constant.
Synopsis
- integrate :: Text -> Expression -> Maybe Expression
Documentation
integrate :: Text -> Expression -> Maybe Expression Source #
Integrates exponential and logarithmic functions required by the Floating type class.
>>>toHaskell <$> integrate "x" (exp "x")Just "exp x">>>toHaskell <$> integrate "x" (log "x")Just "x * log x - x"