Qurak

NestWhileList

可用

Like `NestWhile` but returns the entire history.

NestWhileList[f, expr, test]
NestWhileList[f, expr, test, m]
NestWhileList[f, expr, test, All]
NestWhileList[f, expr, test, m, max]
NestWhileList[#/2 &, 8, EvenQ] → {8, 4, 2, 1}

使用於

主題

相關

全部 6300 個函式 · 從 MCP 用戶端使用這個