Skip to main content

buf

Function buf 

Source
pub fn buf(x: f64) -> f64
Expand description

1 if x > 0.5, else 0 — a threshold/buffer, the companion to inv.