Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: building a list containing elements f(i,j)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71093] Re: building a list containing elements f(i,j)
  • From: yulinwei at gmail.com
  • Date: Wed, 8 Nov 2006 06:07:31 -0500 (EST)
  • References: <eimr3e$dhv$1@smc.vnet.net>

pls try:
Table[f[#,j],{j,0,somebound[#],1}]&/@Table[i,{i,0,i,1}]

Note: i have not tried it yet. There could be some problem, or you
should add Evaluation[ ] somewhere to get it work.
Good luck!
: )
"xarnaudx at gmail.com дµÀ£º
"
> hi,
> i want to construct a list of the form:
> { f[1,1], ... f[n,m] }
> So the list contains elements of the form f[i,j] with i ranging from 0
> to n, and j from 0 to somebound[i].
> 
> What would be the most elegant way to this?
> thanks


  • Prev by Date: Merge of Matrices
  • Next by Date: Re: building a list containing elements f(i,j)
  • Previous by thread: Re: building a list containing elements f(i,j)
  • Next by thread: Re: building a list containing elements f(i,j)