[][src]Function arrayfire::le

pub fn le<T, U>(arg1: &T, arg2: &U, batch: bool) -> Array<bool> where
    T: Convertable,
    U: Convertable,
    <T as Convertable>::OutType: HasAfEnum + ImplicitPromote<<U as Convertable>::OutType>,
    <U as Convertable>::OutType: HasAfEnum + ImplicitPromote<<T as Convertable>::OutType>, 

Perform less than equals comparison operation

This is a comparison operation.

Parameters

Both parameters arg1 and arg2 can be either an Array or a value of rust integral type.

Return Values

An Array with results of the comparison operation a.k.a an Array of boolean values.

Note

The trait Convertable essentially translates to a scalar native type on rust or Array.