Function nalgebra_glm::step_scalar[][src]

pub fn step_scalar<T: Number>(edge: T, x: T) -> T
Expand description

Returns 0.0 if x < edge, otherwise it returns 1.0.