pub fn step<T, const D: usize>(
edge: T,
x: &Matrix<T, Const<D>, Const<1>, ArrayStorage<T, D, 1>>,
) -> Matrix<T, Const<D>, Const<1>, ArrayStorage<T, D, 1>>where
T: Number,
Expand description
Returns 0.0 if x[i] < edge
, otherwise it returns 1.0.