PureData CEAMMC web documentation

PureData CEAMMC library web documentation

View on GitHub

Distribution download

index :: list

list.reduce

aliases: [list.foldl]

apply function of two arguments cumulatively to the list

available since version: 0.1


information

Apply function of two arguments cumulatively to the list, from left to right, so as to reduce the list to a single value. You can imagine this process as a space replacement between elements with binary function, for example: 1 2 3 4 5 becames ((((1+2)+3)+4)+5) after reducing with "+".

example

inlets:

outlets:

keywords:

list min compare

See also: [list.max]

Authors: Serge Poltavsky

License: GPL3 or later