mapfoldi

Combines mapi and foldi iterators.

Syntax

(mapfoldi operator)

Signatures

  1. Type
    (mapfoldi op): <<n>>(I;T1;T2^n; ... ;Tm^n) returns (T1;T2^n; ... ;Tm^n)
    where
    op: (I;T1;T2; ... ;Tm) returns (T1;T2; ... ;Tm)
    with I the type of the current index and 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 (mapfoldi op) is an operator where each of its outputs depends instantaneously on all of its inputs.

  3. Initialization

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

  4. Clock

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