Magic Curves
Magic Curves is a Rust library that provides a suite of tools for working with various bonding curves. This includes implementations of linear, quadratic, exponential, logarithmic, and sigmoid bonding curves.
Description
Magic Curves is designed for applications requiring precise curve calculations, useful in finance, economics, and various scientific fields. The library supports both floating-point and fixed-point arithmetic for high precision in critical applications.
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Then, build your project with:
Usage
Here are examples of how to use the different bonding curves provided by the magic_curves library:
Linear Bonding Curve
use LinearBondingCurve;
Exponential Bonding Curve
use ExponentialBondingCurve;
Logarithmic Bonding Curve
use LogarithmicBondingCurve;
Quadratic Bonding Curve
use QuadraticBondingCurve;
Sigmoid Bonding Curve
use SigmoidBondingCurve;
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for more details.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.