Function nalgebra_glm::step

source ·
pub fn step<N: Number, D: Dimension>(edge: N, x: &TVec<N, D>) -> TVec<N, D>where
    DefaultAllocator: Alloc<N, D>,
Expand description

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