https://github.com/robertleifke/gaussian
A solidity library for using Gaussian distribution functions.
https://github.com/robertleifke/gaussian
Last synced: about 2 months ago
JSON representation
A solidity library for using Gaussian distribution functions.
- Host: GitHub
- URL: https://github.com/robertleifke/gaussian
- Owner: robertleifke
- Created: 2024-11-03T20:00:37.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T20:29:33.000Z (7 months ago)
- Last Synced: 2025-02-15T13:41:19.477Z (4 months ago)
- Language: Solidity
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gaussian
⚠️ **WARNING**: This library is still under active development and not all functions have been thoroughly tested. It contains complex mathematical implementations that may contain errors. DO NOT use in production without comprehensive testing. Use at your own risk.
A solidity library inspired by [solstat](https://github.com/primitivefinance/solstat) for implementing Gaussian distribution functions. It expands on [solidity-cdf](https://github.com/fiveoutofnine/solidity-cdf) to implement a few more statistical functions such as Percent Point Function (PPF) to approximate an inverse CDF. The Guassian library is ideal for custom automated market makers and will be used in [Numo](https://github.com/numotrade).
## Usage
```bash
forge install robertleifke/gaussian
```