documentation NestWhile

*To*: mathgroup at smc.vnet.net*Subject*: [mg71489] documentation NestWhile*From*: "ben" <benjamin.friedrich at gmail.com>*Date*: Mon, 20 Nov 2006 18:11:53 -0500 (EST)

Dear group, This is an info about a possible flaw in the documentation of NestWhile[f, expr, test, m, max] On my machine the order of arguments as above doesn't work, however NestWhile[f, expr, test, max,m] is fine. I suppose there is a flow in the manual. Bye Ben the doc "NestWhile[f, expr, test] starts with expr, then repeatedly \ applies f until applying test to the result no longer yields True. \ NestWhile[f, expr, test, m] supplies the most recent m results as arguments \ for test at each step. NestWhile[f, expr, test, All] supplies all results so \ far as arguments for test at each step. NestWhile[f, expr, test, m, max] \ applies f at most max times. NestWhile[f, expr, test, m, max, n] applies f an \ extra n times. NestWhile[f, expr, test, m, max, -n] returns the result found \ when f had been applied n fewer times." My Mathematica Version Number: 5.2.0.0 Platform: X