Merge: lib: intro the matrix package
authorJean Privat <jean@pryen.org>
Tue, 15 Sep 2015 19:18:44 +0000 (15:18 -0400)
committerJean Privat <jean@pryen.org>
Tue, 15 Sep 2015 19:18:44 +0000 (15:18 -0400)
commit2d02e7d84f9f3a5fa7265ef1591e11994c26ada1
tree7cca6317d2897ad00e3e190baaad5fa92f319930
parent19b8d731a129e7e2295760d04d12ce0b79d818eb
parent62ce6a140e491a8e91733e278d8653861e38466a
Merge: lib: intro the matrix package

This PR intro `Matrix` to represent a matrix of floats. The main module offers only general services and the `projection` module adds services useful for 3D manipulations.

The package is oriented towards matrices of floats and was designed alongside Gamnit. As such, is a bit specialized and may not be appropriate for all usage of matrices (such as integer matrices). So if you prefer, I can move these back to Gamnit. But since this module does not have any dependencies and `Matrix` can be useful for a wide array of context, I chose to leave it in lib.

Pull-Request: #1719
Reviewed-by: Jean Privat <jean@pryen.org>