#characteristics #function #cf #distributions #variety

cf_functions

A library which has characteristic functions for a variety of distributions

20 releases (breaking)

0.16.0 Sep 4, 2021
0.14.0 Jan 11, 2020
0.13.0 Mar 2, 2019
0.10.0 Sep 23, 2018
0.2.0 Jul 16, 2018

#3 in #distributions

Download history 6/week @ 2024-10-11 4/week @ 2024-11-01 3/week @ 2024-11-08 96/week @ 2024-11-29 330/week @ 2024-12-06 119/week @ 2024-12-13 9/week @ 2024-12-20 42/week @ 2024-12-27 83/week @ 2025-01-03 10/week @ 2025-01-10

135 downloads per month
Used in 2 crates

MIT license

62KB
1K SLoC

[lin-badge]: https://github.com/danielhstahl/cf_functions_rust/workflows/Rust/badge.svg [cov-badge]: https://codecov.io/gh/danielhstahl/cf_functions_rust/branch/master/graph/badge.svg

Linux Codecov
![lin-badge] ![cov-badge]

CF functions

Implements common CF functions in Rust

References

Duffie: http://web.stanford.edu/~duffie/dps.pdf

Carr-Geman-Madan-Yor: http://finance.martinsewell.com/stylized-facts/distribution/CarrGemanMadanYor2002.pdf

My ops-risk paper: https://github.com/danielhstahl/OpsRiskPaper/releases/download/0.1.0/main.pdf

Benchmarks

https://danielhstahl.github.io/cf_functions_rust/report/index.html

Crates

https://crates.io/crates/cf_functions


lib.rs:

Provides several common characteristic functions for option pricing. All of the characteristic functions are with respect to "ui" instead of "u".

Dependencies

~255–355KB