|
data[1,2] = 1.234 print(data[1,2]) -- returns 1.234Can someone point me to the right resources so I can start reading and testing myself? Or perhaps someone can give me a hint.
You might want to take a look at Numerical Lua. It uses the syntax: local m = matrix(n,n) for i = 1, n do m[1][i] = 1 endDon't know its storage model (Lua or C), but it might give some ideas by looking through the source.
http://numlua.luaforge.net/#usage