MathGroup Archive 2002

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

Search the Archive

Re: Particular structure

  • To: mathgroup at
  • Subject: [mg33558] Re: Particular structure
  • From: Erich Mueller <emueller at>
  • Date: Sun, 31 Mar 2002 04:09:06 -0500 (EST)
  • Organization: Ohio State University
  • References: <a81jgj$778$>
  • Sender: owner-wri-mathgroup at

You could make a table of the f's using outer

Outer[f[#1, #2, z] &,
        Table[Subscript[x, n], {n, 5}],
        Table[Subscript[y, n], {n, 5}]]

Then just map the operation onto each row/column as appropriate.


On Fri, 29 Mar 2002, Yas wrote:

> G'day,
> How do I go about achieving the structured list below,
> {f[x1, y1, z], ... , f[xn, y1, z]}
> followed by some operation on the above list (e.g Fold), store the
> result and then, do the same again for other y values, as in,
> {f[x1, ym, z], ... , f[xn, ym, z]}
> until the last value of ym.
> In summary, the n values of x get slotted in first for one value of y
> then the resulting list is evaluated, the answer stored, values of x get
> slotted in again, y is incremented and so forth until all (m) values of
> y have been done.
> Thanks
> Yas

  • Prev by Date: Re: common factors in a matrix
  • Next by Date: Re: Particular structure
  • Previous by thread: Re: Particular structure
  • Next by thread: Re: Particular structure