| 29 | |
| 30 | template<af_op_t op, typename Ti, typename To> |
| 31 | static inline af_array scan(const af_array in, const int dim, |
| 32 | bool inclusive_scan = true) { |
| 33 | return getHandle(scan<op, Ti, To>(getArray<Ti>(in), dim, inclusive_scan)); |
| 34 | } |
| 35 | |
| 36 | template<af_op_t op, typename Ti, typename To> |
| 37 | static inline af_array scan_key(const af_array key, const af_array in, |