Consider some function f[x,y]. I want to create a table in the form
table = {{x1,y1,f[x1,y1]},{x1,y2,f[x1,y2]},...,{x2,y1,f[x2,y1]},{x2,y2,f[x2,y2]},...},
where $x_{i},x_{i+1}$ and $y_{i},y_{i+1}$ are separated by some distances $\Delta x$, $\Delta y$, and i ranges from 1 to some N.
The only way I know is to manually create a table
table=Join[Table[{x1,y,f[x1,y]},{y,y1,yN,Deltay}],Table[{x2,y,f[x2,y]},{y,y1,yN,Deltay}],...]
However, this is not a smart way, especially for large N. Could you please provide some smarter way to build the table?