|
Polymake Template Library (PTL)
3.0.6
|


Fold a meta-list applying a binary meta-function to its elements. For an empty list, the result is void. For a single-element list, the result is the element itself. The elements of the list are passed as the left argument of TOperation, the accumulated intermediate result as the right argument. Folding starts at the tail of the list. If it should start at the head, the input list must be reversed (
1.8.11