Mathematica 9 is now available

 Documentation /  Mathematica /  Eingebaute Funktionen /  Programmierung /  Funktionale Programmierung /

FoldComposeList

FoldList

FilledSmallSquare FoldList[f, x, a, b, ... ] ergibt x, f[x, a], f[f[x, a], b], ... .

FilledSmallSquare Beispiel: FoldList[f, x, a, b, c]LongRightArrow.

FilledSmallSquare FoldList[Plus, 0, liste] erzeugt kumulative Summen der Elemente in liste.

FilledSmallSquare Beispiel: FoldList[Plus, 0, a, b, c]LongRightArrow.

FilledSmallSquare Mit einer Liste der Länge erzeugt FoldList eine Liste der Länge .

FilledSmallSquare Der Kopf von liste in FoldList[f, x, liste] muß nicht List sein.

FilledSmallSquare Siehe Das Mathematica Buch: 2.2.2.

FilledSmallSquare Siehe auch: Fold, NestList, ComposeList, Partition, MapIndexed.

Further Examples

FoldComposeList



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.