Re: Reducing a function to one argument
- To: mathgroup at smc.vnet.net
- Subject: [mg36176] Re: Reducing a function to one argument
- From: Tom Burton <tburton at brahea.com>
- Date: Mon, 26 Aug 2002 04:15:53 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 8/23/02 6:38 PM, in article ak6oa3$e90$1 at smc.vnet.net, "Bob Harris" <nitlion at mindspring.com> wrote: > > NestList[Machine[10,7,#], 3, 22] You almost have it: NestList[Machine[10,7,#]&, 3, 22] More elegantly, you can defined Machine this way: Machine[radix_,multiplier_][state_] := ... Then you can write NestList[Machine[10,7], 3, 22] Tom Burton