Function gaussian

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

calculate the gaussian to the given f64 number

ยงExamples

let x:f64 = 0.5;
let answer:f64 = gaussian(x);
 
println!("gaussian({}) => {}",x,answer);