Function arrayfire::any_true_all
[−]
[src]
pub fn any_true_all(input: &Array) -> (f64, f64)
Find if any value of Array is non-zero
Parameters
input
is the input Array
Return Values
A tuple containing the result of OR
operation on all values of Array.
Examples
use arrayfire::{Dim4, print, randu, any_true_all}; let dims = Dim4::new(&[5, 5, 1, 1]); let a = randu::<f32>(dims); print(&a); println!("Result : {:?}", any_true_all(&a));