Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

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
> 
> 


  • Prev by Date: Re: Selecting Rows Where All Columns Satisfy a Condition
  • Next by Date: Re: binomial sum bug
  • Previous by thread: FullSimplify in functions
  • Next by thread: Re: FullSimplify in functions