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