Stochastic Processes in Rust
This Rust library provides implementations for multiple stochastic processes, including:
- Arithmetic Brownian Motion (ABM)
- Geometric Brownian Motion (GBM)
- Ornstein-Uhlenbeck Process (OU)
- Feller Square Root Process
- Brownian Bridge Process
Each of these processes is commonly used in financial modeling, scientific simulations, and mathematical research.
Features
This library includes:
- Multiple stochastic process models.
- Secure random number generation using
OsRng. - Rust idiomatic safety practices (boundary checks, secure error handling, etc.).
- Modular structure for ease of use and extendability.
Installation
To include this library in your Rust project, add the following line to your Cargo.toml under [dependencies]:
[]
= "0.1.0"
Usage
Arithmetic Brownian Motion (ABM)
use ArithmeticBrownianMotion;
Geometric Brownian Motion (GBM)
use GeometricBrownianMotion;
Ornstein-Uhlenbeck Process (OU)
use OrnsteinUhlenbeck;
Feller Square Root Process
use FellerSquareRoot;
Brownian Bridge Process
use BrownianBridge;