Skip to main content

less

Function less 

Source
pub fn less<T>(a: &Array<T>, b: &Array<T>) -> Result<Array<bool>>
where T: Clone + PartialOrd + Debug,
Expand description

Create a boolean array with element-wise comparison (a < b)

§Arguments

  • a - First array
  • b - Second array

§Returns

A boolean array with elements set to true where a < b