inclusive_scan

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

Inclusive scan.

  • x: Vector.
  • op: Operator.