Skip to main content

squash

Function squash 

Source
pub fn squash(a: f64) -> f64
Expand description

2 / (1 + e^(−A/2)): (0, 2), 1 at A = 0.