I don't thinks that leads to an infinite loop. Instead it creates a 12-dimensional matrix with 3^12 (531441) elements. If you use
rand(ones(Int, 12)...); I guess it won't take nothing to calculate the matrix. The problem is printing or showing it.
I don't thinks that leads to an infinite loop. Instead it creates a 12-dimensional matrix with 3^12 (531441) elements. If you use
rand(ones(Int, 12)...); I guess it won't take nothing to calculate the matrix. The problem is printing or showing it.