Function tool::core::matrix::clip[][src]

pub fn clip<T>(list: &List<T>, min: Option<T>, max: Option<T>) -> List<T> where
    T: RealField, 

Clip all elements of a list between min and max. If min or max are None there is no limit.