Polymake Template Library (PTL)
4.2
|
Transform and fold a meta-list. Every element is transformed with a given unary meta-function Transform, the result is passed as a left argument to a binary meta-function Fold; the right argument is the accumulated result for the processed part of the list. Folding starts at the tail of the list. If it should start at the head, the input list must be reversed (