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