MathGroup Archive 2000

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

Search the Archive

Re: A Functional Programming Question


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