MathGroup Archive 1996

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

Search the Archive

Re: Argument types

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5362] Re: [mg5345] Argument types
  • From: Andrei Constantinescu <constant at athena.polytechnique.fr>
  • Date: Thu, 5 Dec 1996 14:50:11 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

 Hi, 

 There are some really nice things with arguments in functions, 
 for example:

    f[x_Real, y_Rule, titi___ ] 

 means that you can everything in place of titi, or really nothing.
 Which gives a way to pass options for example in function defined
 as:

    f[ funct_ , opt___ ] := Plot[ funct[x], {x, 0, 10} , opt ]

 
 So my complementary question was, is there a place with all the
 argument stuff clearly explained ?

   Thanks in advance !

     Andrei

______________________________________________________________________
  Andrei Constantinescu               constant at athena.polytechnique.fr   
                                                                       
  LMS Ecole Polytechnique                  tel:   (33)-1-69.33.33.30
  91128 PALAISEAU cedex - FRANCE           fax:   (33)-1-69.33.30.26    


  • Prev by Date: Complex numbers
  • Next by Date: Abs[]
  • Previous by thread: Re: Argument types
  • Next by thread: Re: Argument types