The table that I keep spitting out is a "probability map", it just stores A) the outcome of a roll, and B) the odds of that outcome.
So like for a 2d6 roll, the outcomes are 2,3,4,5,6,7,8,9,10,11,12, and each outcome has, respectively, odds of 1/36, 1/18, 1/12, 1/9, 5/36, 1/6, 5/36, 1/9, 1/12, 1/18, 1/36.