inclusive_scan


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

Inclusive scan.

  • x: Vector.
  • op: Operator.

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

Inclusive scan sum.