Qurak

TreeFold

Available

Folds a function bottom-up over a tree; a leaf gives its data and an inner node gives f applied to its data and the list of child results

TreeFold[f, tree]
TreeFold[f, tree, h]
TreeFold[{f, f -1}, tree, h]
TreeFold[f]

Topics

Related

All 6300 functions · Use this from an MCP client