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

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

Clip all elements of a List between min and max. A None value indicates no limit.