MathGroup Archive 2003

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

Search the Archive

Re: Operator that Adds Arguments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44870] Re: Operator that Adds Arguments
  • From: cc0053067 <nobody at nowhere.net>
  • Date: Thu, 4 Dec 2003 03:04:34 -0500 (EST)
  • References: <bqb7ch$nu6$1@bob.news.rcn.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Scott Guthery wrote:

>I've got a recursion that adds an argument at each step
>and I'd like to say something like ...
>
>L = Length[F]
>NextOne[F_] = Append[F, Function[F[[L]][#1, #2, ..., #L]+#[L+1]]]]
>
>and have F[[L+1]] be a function of L+1 arguments.
>
>Any suggestions?
>
>Thanks for your help.
>
>Cheers, Scott
>
>  
>
The way you formulated the problem sounds a bit awkward. Did you 
consider a function that takes a list as an argument? You could grow (or 
shrink, or replace) the list of arguments in some trivial way.

Leszek Sczaniecki


  • Prev by Date: Re: Suggestion: Visualization of complex functions with Mathematica
  • Next by Date: Re: list of file names
  • Previous by thread: Re: Operator that Adds Arguments
  • Next by thread: Re: Namespaces/Context in Packages?