diffusionx/
lib.rs

1#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/README.md"))]
2//!
3//! ## 简体中文
4//!
5//! 中文版本可见[这里](https://github.com/tangxiangong/diffusionx/blob/stable/README-zh.md).
6/// Error handling module for the diffusionx crate
7///
8/// This module defines error types and result types used throughout the crate.
9mod error;
10pub use error::*;
11
12/// Random number generation module
13///
14/// Provides implementations for various random number distributions used in stochastic processes.
15pub mod random;
16
17/// Stochastic process simulation module
18///
19/// Contains implementations of various stochastic processes and simulation algorithms.
20pub mod simulation;
21
22/// Utility functions and algorithms
23///
24/// Contains helper functions and algorithms used by other modules.
25pub mod utils;
26
27/// Visualization module for plotting simulation results
28///
29/// This module is only available when the "visualize" feature is enabled.
30#[cfg(feature = "visualize")]
31pub mod visualize;