Skip to main content
edited tags
Link
xzczd
  • 68.4k
  • 9
  • 174
  • 489
Tweeted twitter.com/StackMma/status/1157622266886336513
Became Hot Network Question
added 2 characters in body
Source Link
theorist
  • 3.6k
  • 1
  • 16
  • 29
Table[test2D[[row, col]]^(row*col), {row, 1, Length@testLength@test2D}, {col, 1, Length@test2D[[row]]}]
Table[test2D[[row, col]]^(row*col), {row, 1, Length@test}, {col, 1, Length@test2D[[row]]}]
Table[test2D[[row, col]]^(row*col), {row, 1, Length@test2D}, {col, 1, Length@test2D[[row]]}]
added 4 characters in body
Source Link
theorist
  • 3.6k
  • 1
  • 16
  • 29
test2Dx = {{a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, 
a14, a15, a16, a17, a18, a19, a20, a22}, {b1, b2, b3, b4, b5, b6, 
 b7,  
b8, b9, b10, b11}, {c1, c2, c3, c4, c5, c6, c7}, {d1, d2, d3, d4,  
d5, 
 d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17}};

Table[{test2Dx[[row, 2 + col*4]], test2Dx[[row, 4 + col*4]]}, {row, 1, Length@test2Dx}, {col, 0, (Floor[N[Length[test2Dx[[row]]]/4]]) - 1}];

MatrixForm[%, TableAlignments -> Left]
test2Dx = {{a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, 
a14, a15, a16, a17, a18, a19, a20, a22}, {b1, b2, b3, b4, b5, b6, 
 b7, b8, b9, b10, b11}, {c1, c2, c3, c4, c5}, {d1, d2, d3, d4, d5, 
 d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17}};

Table[{test2Dx[[row, 2 + col*4]], test2Dx[[row, 4 + col*4]]}, {row, 1, Length@test2Dx}, {col, 0 (Floor[N[Length[test2Dx[[row]]]/4]]) - 1}];

MatrixForm[%, TableAlignments -> Left]
test2Dx = {{a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, 
a14, a15, a16, a17, a18, a19, a20}, {b1, b2, b3, b4, b5, b6, b7,  
b8, b9, b10, b11}, {c1, c2, c3, c4, c5, c6, c7}, {d1, d2, d3, d4,  
d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17}};

Table[{test2Dx[[row, 2 + col*4]], test2Dx[[row, 4 + col*4]]}, {row, 1, Length@test2Dx}, {col, 0, (Floor[N[Length[test2Dx[[row]]]/4]]) - 1}];

MatrixForm[%, TableAlignments -> Left]
Source Link
theorist
  • 3.6k
  • 1
  • 16
  • 29
Loading