lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



Am 09.06.2013 um 16:11 schrieb Dirk Laurie:

2013/6/9 Philipp Kraus <philipp.kraus@flashpixx.de>:

I have got multidimensional cubes in C++ and would like to push them into LUA. I would like to create a structure in LUA like
data[i][j][n] = 123


Take a look at Francesco Abbate's GSL-shell.

http://www.nongnu.org/gsl-shell

Only downside is that it's LuaJIT-only.

I don't understand this answer, because I don't write anything about numerical algorithms. If I would use this, I can also use Terra (http://terralang.org/).
My question is / was, how can I get access to any defined multidimensional data structur from LUA?I can also have got a structure like cube<10, std::map<std::string, std::vector> >

Phil