MathGroup Archive 2006

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

Search the Archive

RE: Re: Functions inside list

  • To: mathgroup at
  • Subject: [mg70558] RE: [mg70461] Re: Functions inside list
  • From: "David Annetts" <davidannetts at>
  • Date: Thu, 19 Oct 2006 03:23:26 -0400 (EDT)

 Hi Akil,


I'm not sure I understand the question ....

It's possible to give your function a set of default arguments that may be
optionally omitted so that	ftn[x_, y_:10, z_:30] may be called as
ftn[x], which equates to ftn[x, 20, 30] or ftn[x, 60, 70].

Clearly, this -----------------^^^ is wrong.  It should be ftn[x, 10, 30],
and the sentence should finish " or ftn[x, 60, 70] if you choose to override
the default arguments (with eg. 60 & 70)".

Stil don't understand the question though ....


  • Prev by Date: Re: sum of binomials .. bug ?
  • Next by Date: Re: Infinity vs DirectedInfinity[1]
  • Previous by thread: RE: Re: Functions inside list
  • Next by thread: FindRoot