Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Redirecting input

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92333] Re: Redirecting input
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Sat, 27 Sep 2008 22:22:27 -0400 (EDT)
  • Organization: University of Bergen
  • References: <gbl2vp$m00$1@smc.vnet.net>

Ignacio Plazeta wrote:
> 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
> ....
> 

Have you considered using Manipulate?  Or just do f /@ {2,67,31}


  • Prev by Date: Copying a variable
  • Next by Date: Launch notebook in FE and evaluate it immediately
  • Previous by thread: Re: Redirecting input
  • Next by thread: Re: Redirecting input