[−]Function rusty_engine::prelude::glm::step
pub fn step<N, D>(
edge: N,
x: &Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer> where
D: Dimension,
N: Number,
DefaultAllocator: Alloc<N, D, U1>,
Returns 0.0 if x[i] < edge
, otherwise it returns 1.0.