You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let segmented_excl_scan [n] 't (op: t -> t -> t) (ne:t) (flags:[n]bool) (data:[n]t) : [n]t =
let data = map (\i -> if i == 0 || flags[i] then ne
else data[i-1]) (iota n)
in segmented_scan op ne flags data
We need such a beast...
The text was updated successfully, but these errors were encountered: