Skip to main content

clamp_slice

Function clamp_slice 

Source
pub fn clamp_slice<T, const N: usize, V>(
    input: &[T],
    min: &[T],
    max: &[T],
    output: &mut [T],
)
where T: Transcendental, V: Vector<T, N>,
Expand description

Поэлементное ограничение слайса