2026-08-16 21:04:23 +03:00

21 lines
783 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# lawsynth-differentiate
Deterministic derivative estimation for equation discovery. Supported methods
include finite differences, Savitzky–Golay smoothing, spectral differentiation,
natural cubic splines, total-variation regularization, irregular three-point
estimates, and weak-form integrals.
## Use
```rust
use lawsynth_differentiate::differentiate_series;
let derivative = differentiate_series(&[0.0, 1.0, 2.0, 3.0], &[0.0, 1.0, 4.0, 9.0])?;
assert_eq!(derivative.len(), 4);
# Ok::<(), lawsynth_differentiate::DifferentiationError>(())
```
Choose a method through `DerivativeConfig` and retain that configuration with
results. Derivatives amplify noise and edge estimates are less reliable; this
crate exposes methods, not a claim that a derivative is directly observed.