NEST HelpDesk | Command Index | NEST Quick Reference |
Fold - result of repeatedly applying a function with two argumentsSynopsis:
x [a b c ...] f Select -> f( ...n times... f(f(f(x,a),b),c) ...)Examples:
1 [2 x] Range {mul} FoldAuthor:
computes faculty of integer x
DiesmannFirstVersion:
9.2.01SeeAlso: Source:
Remarks:Fold is a restricted variant of forall.
It is implemented to demonstrate the use of forall as a
functional operator and for compatibility with Mathematica.
/builddir/build/BUILD/nest-simulator-2.14.0/lib/sli/mathematica.sli
NEST HelpDesk | Command Index | NEST Quick Reference |
© 2004 The NEST Initiative