You can index matrices in the same way one indexes Lua tables
A = Matrix.New({{1,2},{3,4}}) B = A[2] print("A[2] = ",B) C = A[2][1] print("A[2][1] = ",C)
A[2] = { 3 , 4 } A[2][1] = 3