I would like to generate a table using a function of two variables. I tried the following:
Table[{a, b, f[a, b]}, {a, 0, 5}, {b, 0, 5}]
which does work as I had hoped. I want the table to produce a, b, f[a, b]
in columns using Grid
. Thanks for suggestions!
Table[{a, b, f[a, b]}, {a, 0, 5}, {b, 0, 5}] // Grid
?Table[{a, b, f[a, b]}, {a, 0, 5}, {b, 0, 5}] // TableForm
? $\endgroup$