Re: FullSimplify in functions
- To: mathgroup at smc.vnet.net
- Subject: [mg82595] Re: FullSimplify in functions
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 26 Oct 2007 05:11:36 -0400 (EDT)
- Organization: Uni Leipzig
- References: <ffpq3s$lbu$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, expr = Expand[(x^2 + 1)^3] and foo[x_] = FullSimplify[expr] ?? Regards Jens Michael Mandelberg wrote: > What is the best/proper way to incorporate FullSimplify[ ] into a > function definition in such a way that the FullSimplify[ ] executes > only once instead of each time the function is called, i.e. it is > "compiled", though I'm not sure this is the same thing as the > Mathematica Compile[ ] function. > > Michael Mandelberg > >