MathGroup Archive 2000

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

Search the Archive

Re: A Functional Programming Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24761] Re: A Functional Programming Question
  • From: "Mariusz Jankowski" <mjkcc at usm.maine.edu>
  • Date: Wed, 9 Aug 2000 02:32:47 -0400 (EDT)
  • Organization: University of Southern Maine
  • References: <8mdm9v$5o7@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

David, I suggest the following method:

(1) define a helper function

f[x_,y_]:=(#/y&)/@x

(2) then, as you guessed, use MapThread

MapThread[f[#1, #2] &, {eqns, {a, b, c}}]

I am curious to see how it can be done without step (1).

Regards, Mariusz



======================================
Mariusz Jankowski
University of Southern Maine
email: mjkcc at usm.maine.edu




  • Prev by Date: Re: Simple Query
  • Next by Date: Which graphics card should I buy?
  • Previous by thread: A Functional Programming Question
  • Next by thread: Re: A Functional Programming Question