Re: Redirecting input
- To: mathgroup at smc.vnet.net
- Subject: [mg92344] Re: Redirecting input
- From: "David Park" <djmpark at comcast.net>
- Date: Sat, 27 Sep 2008 22:24:28 -0400 (EDT)
- References: <gbl2vp$m00$1@smc.vnet.net>
f[x_] := x + 1 2 // f 3 -- David Park djmpark at comcast.net http://home.comcast.net/~djmpark/ "Ignacio Plazeta" <Ignacio.Plazeta at speednet.es> wrote in message news:gbl2vp$m00$1 at smc.vnet.net... > Dear Friends > > Let, as an example, > > f[x_] := x + 1 > > be a function I have to calculate over and over again; > it would result useful redirecting input to avoid > typing > > f[2] Enter > f[67] Enter > f[31] Enter > ... > > and simply make use of > > 2 Enter > 67 Enter > 31 Enter > ... > > Plese, can you point out a trick to perform it ? > > Best Regard > > Ignacio Plazeta >