MathGroup Archive 2005

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

Search the Archive

pure functions vs. functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57415] pure functions vs. functions
  • From: "Marcin Rak" <umrakmm at cc.umanitoba.ca>
  • Date: Fri, 27 May 2005 04:56:53 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hey everyone, I had a beginner question:  what exactly is the difference 
between a pure function and just a function?
ie. the difference between declaring functions using
f[arg1_,...,argn_] := "some expression making use of the arguments"

and explicilty calling Function[{arg1_,...,argn_}, "same expression 
making use of the arguments"]

They have different heads!!

Thanks
MR



  • Prev by Date: Re: Sorting nested list
  • Next by Date: Printing - mathematica cropping the right hand side... :(
  • Previous by thread: Re: polynomialreduce
  • Next by thread: Re: pure functions vs. functions