aboutsummaryrefslogtreecommitdiff
path: root/mmatrix_example.lua
blob: 5b34779106d8482b4f932b9733b2a17660452ba0 (plain) (blame)
1
2
3
4
5
6
7
8
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)