afp_scan
Inclusive or exclusive scan of an array.
Arguments
- Input array, values
- Integer, dimension: 0 - rows, 1 - columns
- Integer or string, binary operation: 0/'+' - add, 1/'*' - multiply, 2/'min' - minimum, 3/'max' - maximum
- Boolean, specifying whether scan is inclusive
Output
Resulting value or array
Examples