Function tool::core::matrix::clip [−][src]
pub fn clip<T>(
list: &Matrix1xX<T>,
min: Option<T>,
max: Option<T>
) -> Matrix1xX<T> where
T: RealField,
Clip all elements of a list between min and max. If min or max are None
there is no limit.