How do you define a two-dimensional array using positions from two smaller arrays?
===

Basically, I have defined an array Tp with 150 positions at 0.01 increments.  I have also defined an array Dp with 600 positions at the same 0.01 increments.  I'm trying to write one large array TpDp which puts every combination of the Tp and Dp array values into its two columns so that Tp is in the first column and Dp is in the second column.  I'm not sure how to define the TpDp[][] positions so that they equal, e.g. (and not syntacially correct), int TpDp[0][0] = new int [Tp[0]][Dp[0]].

I might have all kinds of errors in this, but here has been my set up so far with Tp and Dp already defined (A = 150, B = 600, these being the number of positions in Tp and Dp, respectively):



int [][] TpDp = new int [A*B][A*B]; //declaring new 2-dimensional array TpDp, size needed for combos 

int i; //iteration counter for Tp

int j; //iteration counter for Dp



for (i=0; i<=A; i++){ //i counting through all positions in Tp until exhausts A column options

     for (j=0; j<=B; j++){ //j counting through all positions in Dp until exhausts B column options
        
          TpDp[i][j] = Tp[i], Dp[j]; //This is where I'm not sure how do define TpDp[i][j]