RE: Re: Functions inside list
- To: mathgroup at smc.vnet.net
- Subject: [mg70558] RE: [mg70461] Re: Functions inside list
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Thu, 19 Oct 2006 03:23:26 -0400 (EDT)
Hi Akil, <Snippage> 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 .... D.