1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
//! Extended Modules for NumRS2
//!
//! This module contains advanced functionality that extends NumRS2's core capabilities.
//! All modules follow strict SCIRS2 integration policy and maintain production-grade
//! quality standards.
//!
//! # Module Organization
//!
//! ## Signal Processing and Analysis
//! - [`fft`]: Fast Fourier Transform operations
//! - [`fft_enhanced`]: Enhanced FFT with advanced windowing and convolution
//! - [`signal_processing`]: Signal filtering, windowing, and spectral analysis
//! - [`frequency_analysis`]: Frequency domain analysis tools
//! - [`spectral_analysis`]: Power spectral density and spectrograms
//! - [`wavelets`]: Wavelet transforms (DWT, CWT), multiresolution analysis, denoising
//!
//! ## Linear Algebra Extensions
//! - [`eigenvalues`]: Eigenvalue and eigenvector computations
//! - [`matrix_decomp`]: Matrix decompositions (LU, QR, Cholesky, Schur, SVD)
//! - [`sparse`]: Sparse matrix data structures and operations
//!
//! ## Mathematical Functions
//! - [`special`]: Special mathematical functions (Bessel, Gamma, Error functions, etc.)
//! - [`polynomial`]: Polynomial operations, fitting, and root finding
//!
//! ## Neural Networks and Machine Learning
//! - [`nn`]: Advanced neural network architectures (Transformers, Graph Neural Networks)
//! - [`rl`]: Reinforcement learning primitives (agents, environments, replay buffers)
//! - [`model_io`]: Model serialization, deployment formats, and checkpointing
//! - [`serving`]: Production ML serving (inference, model registry, preprocessing, monitoring)
//!
//! ## Time Series and Probabilistic Models
//! - [`timeseries`]: Time series analysis and forecasting
//! - [`probabilistic`]: Probabilistic models and Bayesian inference
//!
//! ## Quantum Computing
//! - [`quantum`]: Quantum computing simulation (state vectors, gates, circuits, algorithms)
//!
//! ## Computer Vision
//! - [`cv`]: Image processing, filtering, morphology, feature detection, geometric transforms
//!
//! ## Computational Geometry
//! - [`geometry`]: Convex hulls, Delaunay triangulation, Voronoi diagrams, polygon operations
//!
//! ## Finite Element Method
//! - [`fem`]: FEM solver for PDEs (heat conduction, linear elasticity, mesh generation)
//!
//! ## Graph Algorithms
//! - [`graph`]: Graph data structures and algorithms (traversal, shortest paths, MST, flow)
//!
//! ## Control Systems
//! - [`control`]: Transfer functions, state-space, stability analysis, PID controllers
//!
//! ## Information Theory
//! - [`information_theory`]: Entropy measures, divergence metrics, mutual information, coding theory
//!
//! ## Physical Constants
//! - [`constants`]: NIST/CODATA 2022 physical constants (fundamental, atomic, electromagnetic, units)
//!
//! # SCIRS2 Integration Policy
//!
//! All modules in `new_modules` strictly follow NumRS2's SCIRS2 integration policy:
//! - **Array Operations**: Use `scirs2_core::ndarray` (NEVER direct ndarray)
//! - **Random Numbers**: Use `scirs2_core::random` (NEVER direct rand)
//! - **Parallelization**: Use `scirs2_core::parallel_ops` (NEVER direct rayon)
//! - **Linear Algebra**: Use `scirs2_linalg` for matrix operations
//! - **Error Handling**: Base errors on `scirs2_core::error::CoreError`
//! - **Pure Rust**: 100% Pure Rust via SciRS2 ecosystem (no C/C++ dependencies)
//!
//! # Quality Standards
//!
//! All code maintains strict quality standards:
//! - No `unwrap()` calls in production code
//! - Comprehensive error handling with `Result<T, NumRs2Error>`
//! - Full documentation with mathematical formulas and citations
//! - Extensive test coverage (unit, integration, property-based)
//! - SIMD optimization where applicable
//! - Numerical stability guarantees
// Signal processing modules
// Linear algebra extensions
// Mathematical functions
// Neural networks and machine learning
// Time series and probabilistic models
// Quantum computing
// Computer Vision
// Computational Geometry
// Finite Element Method
// Graph Algorithms
// Control Systems
// Information Theory
// Physical Constants
// Survival Analysis
// Causal Inference
// Bioinformatics
// Combinatorics
// String Algorithms
// Streaming/Online Statistics