Function step_vec

Source
pub fn step_vec<T, const D: usize>(
    edge: &Matrix<T, Const<D>, Const<1>, ArrayStorage<T, D, 1>>,
    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[i], otherwise it returns 1.0.