MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

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/


  • Prev by Date: Re: another Bug in Reduce ?
  • Next by Date: Re: Mathematica: access serial port?
  • Previous by thread: Re: writing a function with unknown number of paramters
  • Next by thread: Re: writing a function with unknown number of paramters