diff options
Diffstat (limited to 'mmatrix_example.lua')
-rw-r--r-- | mmatrix_example.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mmatrix_example.lua b/mmatrix_example.lua new file mode 100644 index 0000000..5b34779 --- /dev/null +++ b/mmatrix_example.lua @@ -0,0 +1,9 @@ +t = nerv.FloatMMatrix(5, 10) +a = t[1] +for i = 0, 4 do + for j = 0, 9 do + t[i][j] = i + j + end +end +print(t) +print(a) |