Qurak

NestWhileList

Disponible

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}

Utilisé dans

Thèmes

Connexes

Les 6300 fonctions · Utiliser ceci depuis un client MCP