[−][src]Function arrayfire::scan_by_key
pub fn scan_by_key<K, V>(
key: &Array<K>,
input: &Array<V>,
dim: i32,
op: BinaryOp,
inclusive: bool
) -> Array<V::AggregateOutType> where
V: HasAfEnum,
V::AggregateOutType: HasAfEnum,
K: HasAfEnum + Scanable,
Generalized scan by key
Parameters
keyis the key Arrayinputis the data on which scan is to be performeddimis the dimension along which scan operation is to be performedoptakes value of BinaryOp enum indicating the type of scan operationinclusivesays if inclusive/exclusive scan is to be performed
Return Values
Output Array of scanned input