numdiff 0.7.3

Numerical differentiation via forward-mode automatic differentiation and finite difference approximations.
Documentation
1
2
3
4
5
6
7
8
9
//! Constants used for numerical differentiation.

use std::sync::LazyLock;

/// Square root of the machine epsilon ($\sqrt{\varepsilon}$).
pub static SQRT_EPS: LazyLock<f64> = LazyLock::new(|| f64::EPSILON.sqrt());

/// Cube root of the machine epsilon ($\varepsilon^{1/3}$).
pub static CBRT_EPS: LazyLock<f64> = LazyLock::new(|| f64::EPSILON.cbrt());