Expand description
Helper functions for numerical integration and common operations.
Constants§
- DEFAULT_
CONVERGENCE_ TOL - Default convergence tolerance for iterative algorithms.
- NUMERICAL_
EPS - Small epsilon for numerical comparisons (e.g., avoiding division by zero).
Functions§
- extract_
curves - Extract curves from column-major data matrix.
- l2_
distance - Compute L2 distance between two curves using integration weights.
- simpsons_
weights - Compute Simpson’s rule integration weights for non-uniform grid.
- simpsons_
weights_ 2d - Compute 2D integration weights using tensor product of 1D weights.