mapfold

Combines map and fold iterators.

Syntax

(mapfold operator)

Signatures

  1. Type
    (mapfold op): <<n>>(T1;T2^n; ... ;Tm^n) returns (T1;T2^n; ... ;Tm^n)
    where
    op: (T1;T2; ... ;Tm) returns (T1;T2; ... ;Tm)
    with T1 the type of the accumulator.

    In this signature, T1 can be extended to a named group where each field is an accumulator (several accumulators).

  2. Causality

    The resulting operator (mapfold op) is an operator where each of its outputs depends instantaneously on all of its inputs.

  3. Initialization

    The resulting operator (mapfold op) has its first value defined if all inputs have their first values defined.

  4. Clock

    The resulting operator (mapfold op) has the same clock as its inputs and outputs.