TRUECALC
Functions

SCAN

Returns running accumulation using a LAMBDA

Try it

When to use it

When should I use SCAN?

Use SCAN to compute running accumulations across an array using a LAMBDA, returning an array of intermediate accumulated values rather than just the final result.

Used in

operations · science

Syntax

SCAN(initial_value, array, lambda)

On this page