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