mapfoldi
Combines mapi and foldi iterators.
Syntax
(mapfoldi operator)
Signatures
- Type
with
where(mapfoldi op): <<n>>(I;T1;T2^n; ... ;Tm^n) returns (T1;T2^n; ... ;Tm^n)op: (I;T1;T2; ... ;Tm) returns (T1;T2; ... ;Tm)Ithe type of the current index andT1the type of the accumulator.In this signature, T1 can be extended to a named group where each field is an accumulator (several accumulators).
- Causality
The resulting operator (mapfoldi op) is an operator where each of its outputs depends instantaneously on all of its inputs.
Initialization
The resulting operator (mapfoldi op) has its first value defined if all inputs have their first values defined.
Clock
The resulting operator (mapfoldi op) has the same clock as its inputs and outputs.