Re: Query regarding Function
- To: mathgroup at smc.vnet.net
- Subject: [mg130136] Re: Query regarding Function
- From: svkeeley at aol.com
- Date: Wed, 13 Mar 2013 04:20:48 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <khmb84$ngv$1@smc.vnet.net>
In case one x*y didn't get replaced because it wasn't there; instead the variable xy was. Put a space between the x and the y: In[3]:= Clear[f, x, y] g = Function[{x, y}, x^2 + 2 x y][b, a] Out[4]= 2 a b+b^2