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


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

Re: Query regarding Function

From svkeeley@aol.com
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Query regarding Function
Date 2013-03-13 08:18 +0000
Message-ID <khpcos$me4$1@smc.vnet.net> (permalink)
References <khmb84$ngv$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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

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


Thread

Query regarding Function Rahul Chakraborty <rahul.6sept@gmail.com> - 2013-03-12 04:34 +0000
  Re: Query regarding Function Oliver Roese <Oliver.Roese@FernUni-Hagen.de> - 2013-03-13 08:17 +0000
  Re: Query regarding Function David Bailey <dave@removedbailey.co.uk> - 2013-03-13 08:18 +0000
  Re: Query regarding Function Peter Pein <petsie@dordos.net> - 2013-03-13 08:17 +0000
  Re: Query regarding Function svkeeley@aol.com - 2013-03-13 08:18 +0000
  Re: Query regarding Function Richard Fateman <fateman@cs.berkeley.edu> - 2013-03-13 08:18 +0000
  Re: Query regarding Function "Dr. Wolfgang Hintze" <weh@snafu.de> - 2013-03-13 08:17 +0000
  Re: Query regarding Function Frank K <fkampas@gmail.com> - 2013-03-13 08:18 +0000

csiph-web