Skip to main content

final_length

Function final_length 

Source
pub fn final_length(original_length: f64, strain: f64) -> Option<f64>
Expand description

Computes final length after elastic axial strain.

Formula: L = L0 * (1 + ε).

Returns None when original_length is negative, when the result is negative, or when any input or result is not finite.