Skip to content

ggcrunchy/eigen-lua

Repository files navigation

eigen-lua

A wrapper around parts of the Eigen numerical library

In particular, this binding targets Eigen 3.3. It is very much a work in progress, though the (incomplete) docs give some idea of the direction it's taking. Many solvers are mostly fleshed out, with views, block expressions, and the like being still underway.

So far I've tested it on Windows. It also seems to build on Mac and Android, though I've not yet tried these. This project is meant first and foremost to be a Corona SDK plugin, however, so iOS and tvOS should follow as well.

That said, with a little effort the relevant bits could be carved out of the support submodules and retargeted at other platforms.

Eigen::Map seems to significantly complicate things (ramping up compilation times; to add insult to injury, compilation errors seem to wait about twenty minutes to show up!), so there are separate projects for most scalar types, along with compile-time options to include maps and strided maps. At the moment, boolean matrices are part of the "core" module, though maybe this will change now that they're fairly fleshed out in their own right.

A small "CacheStack" module goes with this, with the aim of recycling Lua-side object wrappers in heavy-duty scenarios where lots of temporaries are made.

For now, development is being done elsewhere, but the idea is to snapshot it here every now and then.

About

A wrapper around parts of the Eigen numerical library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published