Revision 590458
Go back to digest for 1st October 2006Features in Other
Benoît Jacob committed changes in /trunk/kdesupport/eigen:
First step of a big rework of Eigen to make the dynamic-size and fixed-size classes share common code, using a C++ trick known as Curiously Recurring Template Pattern, as described here: <a href="http://www.informit.com/articles/article.asp?p=31473&seqNum=3&rl=1">http://www.informit.com/articles/article.asp?p=31473&seqNum=3&rl=1</a>
Thanks go to the gurus on the kde-devel list, especially Sylvain Joyeux.
This patch adds a new class template VectorBase, and reimplements the dynamic-size VectorX as a derived class template of VectorBase.
TODO: reimplement in the same way all the other classes.
File Changes
Added 1 files
- /trunk/kdesupport/eigen/vectorbase.h
Modified 3 files
- /trunk/kdesupport/eigen
- /linearsolver.h
- /test.cpp
- /vectorx.h
4 files changed in total