MathGroup Archive 2003

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

Search the Archive

Re: Functional programming

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39031] Re: Functional programming
  • From: Nevin Kapur <nevin at jhu.edu>
  • Date: Sat, 25 Jan 2003 01:24:38 -0500 (EST)
  • Cancel-lock: sha1:clUpO7TgOxEfmU//aL/sajnEP6s=
  • Organization: Mathematical Sciences, The Johns Hopkins University
  • References: <b0r496$4lo$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Zachary Turner" <_NOzturner0826SPAM_ at hotmail.com> writes:

> I have a function f[a_,b_] defined some way.  i want to fix one argument,
> and then generate an array of values where the other argument varies.  

> For example, I want:
>
> {f[1, 4], f[2, 4], f[3, 4], f[4, 4]}

Table[ f[i,4], {i,4} ]

-Nevin


  • Prev by Date: Re: Lower Floor
  • Next by Date: Re: Functional programming
  • Previous by thread: Re: Functional programming
  • Next by thread: Re: Functional programming