Qurak

FoldList

ใช้งานได้

Like [`Fold`](Fold.md), but returns a list of intermediate results.

FoldList[f, x, {a, b, …}]
FoldList[f, {a, b, c, …}]
FoldList[f]
FoldList[Plus, 0, {1, 2, 3}] → {0, 1, 3, 6}

หัวข้อ

ที่เกี่ยวข้อง

ฟังก์ชันทั้งหมด 6300 รายการ · ใช้สิ่งนี้จากไคลเอนต์ MCP