MathGroup Archive 2003

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

Search the Archive

RE: Functional programming

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39027] RE: [mg39015] Functional programming
  • From: "Harvey P. Dale" <hpd1 at nyu.edu>
  • Date: Sat, 25 Jan 2003 01:24:16 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Zachary:
	Table[f[i,4],{i,4}]
	Best,
	Harvey
Harvey P. Dale
University Professor of Philanthropy and the Law
Director, National Center on Philanthropy and the Law
New York University School of Law
Room 206A
110 West 3rd Street
New York, N.Y. 10012-1074

-----Original Message-----
From: Zachary Turner [mailto:_NOzturner0826SPAM_ at hotmail.com]
To: mathgroup at smc.vnet.net
Subject: [mg39027] [mg39015] Functional programming

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.
How
can I do this?

For example, I want:

{f[1, 4], f[2, 4], f[3, 4], f[4, 4]}

Is there an easy way to do this?

Thanks



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