|
Boost : |
Subject: [boost] Interest in a new generic matrix library with specific 3D operations?
From: Fabien Picarougne (fabien.picarougne_at_[hidden])
Date: 2014-07-02 10:36:17
Hi,
I have developed a generic matrix library with some specialization for 3D
operations. I wondering if it would be of interest for me to submit it as a
Boost library.
There are some differences compared to the current ublas/matrix class. The
dimensions of this matrix are template parameters, this allows to make
specializations for particular dimensions and efficiency in some
combinations of parameters.
This library takes advantage of some C++11 elements and so requires a C++11
enabled compiler. I have tested it with gcc 4.8.2 and MSVC 2013.
It contains a generic global matrix class (CMat) which can be specialized in
a number of matrix (square matrix, vectors, 4x4 matrix.) in order to use
more efficient algorithms or adding particular methods. Because I use it in
a 3D rendering engine, I have built a specific CMat4x4 class with standard
3D operators on matrix and vectors.
I have posted the current code here:
https://bitbucket.org/fpicarougne/template-matrix-library
In order to use all the specializations, include "Matrix/CMat3D.hpp" and
take a look to "Matrix.cpp" for an example of usage.
Fabien
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk