summaryrefslogtreecommitdiff
path: root/matrix_example.lua
blob: 1ff129d24edf0eff0d76e3ec45fa2730b05024d6 (plain) (blame)
1
2
3
4
5
6
7
t = nerv.FloatMatrix(2, 3)
print(t:get_elem(1))
t:set_elem(1, 3.23432);
print(t:get_elem(1))
print(t)
t = nerv.FloatMatrix(10, 20)
print(t)