Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
I'd like to create a table containing all possible combinations from another table of data values for the specified number of output columns.
You can use the following routine to compute the number of possible combinations: