Qurak

NestWhileList

Available

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}

Used in

Topics

Related

All 6300 functions · Use this from an MCP client