Skip to main content

LM_DIAGONAL_FLOOR

Constant LM_DIAGONAL_FLOOR 

Source
pub const LM_DIAGONAL_FLOOR: f64 = 1e-10;
Expand description

Floor for Levenberg-Marquardt diagonal elements to ensure damping stability. Intentionally much larger than PIVOT_FLOOR — LM requires a meaningful minimum curvature for numerical stability of the trust-region step.