Re: Tabulating expressions dependent on two variables

*To*: mathgroup at smc.vnet.net*Subject*: [mg112422] Re: Tabulating expressions dependent on two variables*From*: AES <siegman at stanford.edu>*Date*: Wed, 15 Sep 2010 04:37:52 -0400 (EDT)*References*: <i6ned2$g8l$1@smc.vnet.net>

In article <i6ned2$g8l$1 at smc.vnet.net>, Leslaw Bieniasz <nbbienia at cyf-kr.edu.pl> wrote: > How should one modify the following code, in order to accurately tabulate > a function f[x,y] of two variables, instead of the function f[y] of one > variable? The values of x and y should be all combinations of the values > of y indicated below. If you want combinations of all values of nn variables, replace {N[y], . . . with {N[x], N[y], N[z],. . . in the Table; add separate iterators for x, y, z, . . . ; and then Flatten the Table to order nn-1, i.e. Flatten[Table[--], nn-1].