Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12136

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

From Daniel <dosadchy@its.jnj.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to convert the expression 3*x to a function in Mathematica?
Date 2012-10-22 06:07 +0000
Message-ID <k62nqa$cg2$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: How to convert the expression 3*x to a function in Mathematica? Daniel <dosadchy@its.jnj.com> - 2012-10-22 06:07 +0000

csiph-web