exclusive_scan

function exclusive_scan<Value>(x:Value[_], init:Value, op:@(Value, Value) -> Value) -> Value[_]

Exclusive scan.

  • x: Vector.
  • init: Initial value.
  • op: Operator.