https://github.com/entuland/lua-matrix is just a thin wrapper to make this library available as a mod inside the Minetest game.
Please see https://github.com/davidm/lua-matrix for the original version