pub fn all_true_all<T>(input: &Array<T>) -> (bool, bool)Expand description
Find if all values of Array are non-zero
§Parameters
inputis the input Array
§Return Values
A tuple containing the result of AND operation on all values of Array.
§Examples
use arrayfire::{Dim4, print, randu, all_true_all};
let dims = Dim4::new(&[5, 5, 1, 1]);
let a = randu::<f32>(dims);
print(&a);
println!("Result : {:?}", all_true_all(&a));