Re: procedures
- To: mathgroup at smc.vnet.net
- Subject: [mg96958] Re: procedures
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sat, 28 Feb 2009 06:41:46 -0500 (EST)
- Organization: Uni Leipzig
- References: <go8i20$l4r$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, you wish to assign n+1 times D[x,s]=D[x,s] ?? Or do you mean D[x_,n_]:="something symbolic" Table[D[x,s],{s,0,n}] ?? Regards Jens ventutech at gmail.com wrote: > Simple question: > how can I in mathematica write a complex function? > What I need to do is (pseudocode) > > FunctionToCode[x,n] { > > D[x_,n]:= something symbolic > > Do[ D[x,s]=D[x,s], {s,0,n} ]; > > return D[x,s] > Clear[D] > } > > Thanks! > Davide >