https://github.com/jw3126/cumulantgeneratingfunctions.jl
Provide cgf support for Distributions.jl
https://github.com/jw3126/cumulantgeneratingfunctions.jl
julia probability-distributions
Last synced: 3 months ago
JSON representation
Provide cgf support for Distributions.jl
- Host: GitHub
- URL: https://github.com/jw3126/cumulantgeneratingfunctions.jl
- Owner: jw3126
- License: mit
- Created: 2022-08-13T21:48:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T18:57:40.000Z (almost 3 years ago)
- Last Synced: 2025-02-10T12:36:05.539Z (5 months ago)
- Topics: julia, probability-distributions
- Language: Julia
- Homepage:
- Size: 99.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CumulantGeneratingFunctions
[](https://jw3126.github.io/CumulantGeneratingFunctions.jl/stable/)
[](https://jw3126.github.io/CumulantGeneratingFunctions.jl/dev/)
[](https://github.com/jw3126/CumulantGeneratingFunctions.jl/actions/workflows/CI.yml?query=branch%3Amain)
[](https://codecov.io/gh/jw3126/CumulantGeneratingFunctions.jl)This package exports one function `cgf` that calculates the [cumulant-generating-function](https://en.wikipedia.org/wiki/Cumulant) of a distribution:
```julia
julia> using Distributions, CumulantGeneratingFunctionsjulia> cgf(Normal(0,1), 100)
5000.0
```