exclusive_scan


function exclusive_scan<Type>(x:Type[_], init:Type, op:\(Type, Type) -> Type) -> Type[_]

Exclusive scan.

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