inclusive_scan function inclusive_scan<Type>(x:Type[_], init:Type, op:\(Type, Type) -> Type) -> Type[_] Inclusive scan. x: Vector. op: Operator.