MathGroup Archive 2005

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

Search the Archive

Re: assigning functions


juejung wrote:
> sorry, i just found the solution myself. yes, the help file is helpful ;-)
> 
> f[x_] := x^2;
> fprime[x_] = D[f[x], x]
> 
> works just fine!
> the "set delayed assignment rule" for the second part was wrong.

Why not just use:

f[x_]=x^2;
f'[x]


-- 
Helen Read
University of Vermont


  • Prev by Date: Re: holding boxes verbatim
  • Next by Date: How to run multiple sessions on Mac OS X?
  • Previous by thread: Re: assigning functions
  • Next by thread: Re: assigning functions