Subject: Re: [boost] Interest in a new generic matrix library with specific 3D operations?
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2014-07-02 19:45:40
2014-07-02 16:36 GMT+02:00 Fabien Picarougne <
> 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
> 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:
> In order to use all the specializations, include "Matrix/CMat3D.hpp" and
> take a look to "Matrix.cpp" for an example of usage.
Your proposal is closer to the QVM library (
http://www.revergestudios.com/boost-qvm/) already proposed for inclusion
into Boost than to uBlas.
Have you checked it out?
Your work could be a nice extension of this library. In particular, Matrix
and Vector concepts from QVM could be used and specializations of
algorithms optimized for some specific Matrices sizes dispatched in
Emil what do you think?