[−][src]Function arrayfire::locate
pub fn locate<T: HasAfEnum>(input: &Array<T>) -> Array<u32>
Locate the indices of non-zero elements.
The locations are provided by flattening the input into a linear array.
Parameters
input
- Input Array
Return Values
Array of indices where the input Array has non-zero values.