Skip to main content

smooth_min_exponential

Function smooth_min_exponential 

Source
pub fn smooth_min_exponential(a: f64, b: f64, k: f64) -> f64
Expand description

Smooth minimum via exponential blend.

Returns −(1/k) · ln(e^(−k·a) + e^(−k·b)).