Re: writing a function with unknown number of paramters
- To: mathgroup at smc.vnet.net
- Subject: [mg60539] Re: writing a function with unknown number of paramters
- From: Peter Pein <petsie at dordos.net>
- Date: Tue, 20 Sep 2005 05:18:54 -0400 (EDT)
- References: <dgm0fs$nqn$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Someonekicked schrieb: > I wanna write a function that can take an unknown number of parameters in > mathematica, how I can do that?? > > > For example, The built-in function Plot, > > Plot[{f1,f2,f3. }, {x, xmin, xmax}] > > can take an unknown number of functions then plot them. > > Hi, in this case Plot[] takes *exactly one* list as first parameter. -- Peter Pein, Berlin GnuPG Key ID: 0xA34C5A82 http://people.freenet.de/Peter_Berlin/