Thanks very much for the link. The algorithm seems to perfectly fit my needs.
However the example code does'nt work as is. Matrix.lua requires another module, complex.lua. And, even if I copy these 2 modules (using the full matrix package, see attached), the execution fails at first line :
Rref...