exclusive_scan


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

Exclusive scan.

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

function exclusive_scan<Type>(x:Type[_]) -> Type[_]

Exclusive scan sum.