MathGroup Archive 2012

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

Search the Archive

Re: How to convert the expression 3*x to a function in Mathematica?


> In doing a program in Mathematica that receives an
> expression called f and converts it to a function.
> However the command Function[x,f] doesn't work, what
> do I do?
> 

In[1]:= f = 3 x;

In[2]:= g = Function[x, f // Evaluate]

Out[2]= Function[x, 3 x]



  • Prev by Date: Re: How to convert the expression 3*x to a function in
  • Next by Date: Heat kernel on a mobius band in a closed form
  • Previous by thread: Re: How to convert the expression 3*x to a function in
  • Next by thread: Separating functions