Function arrayfire::scan_by_key [] [src]

pub fn scan_by_key(
    key: &Array,
    input: &Array,
    dim: i32,
    op: BinaryOp,
    inclusive: bool
) -> Array

Generalized scan by key

Parameters

  • key is the key Array
  • input is the data on which scan is to be performed
  • dim is the dimension along which scan operation is to be performed
  • op takes value of BinaryOp enum indicating the type of scan operation
  • inclusive says if inclusive/exclusive scan is to be performed

Return Values

Output Array of scanned input