Function arrayfire::le [] [src]

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

Perform less than equals comparison operation

This is a binary elementwise operation.

Parameters

  • arg1is an argument that implements an internal trait Convertable.
  • arg2is an argument that implements an internal trait Convertable.
  • batch is an boolean that indicates if the current operation is an batch operation.

    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 binary operation.

Note

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