Re: [eigen] it compiles, so ship it!

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Nice going Benoit!

Ben 

--- Benoît Jacob <jacob@xxxxxxxxxxxxxxx> wrote:

> Hey List,
> 
> I've been doing cleanup in tvmet, the sloccount has already gone down from 
> 12215 to 9861 in the include/tvmet/ directory alone.
> 
> The cmake porting it pretty much done too, which is another big 
> simplification. I haven't yet removed the old m4/ac/in files and the old 
> per-platform headers, so expect another big cleanup soon.
> 
> I thought it'd be an appropriate time to celebrate as I've been able to 
> compile without warning and run a simple test program (below). That's a big 
> relief for me as removing thousands of lines of code of a project you don't 
> know the code of is scary (and funny at the same time).
> 
> What's been removed? Many operation on matrices/vectors that generated too 
> much code given their low usefulness. That includes mostly per-element math 
> functions and per-element comparison/boolean/binary operations.
> 
> Can't run the testsuite as I first need to get rid of the cppunit dependency, 
> I think I should port that to QTestLib.
> 
> Cheers,
> Benoit
> 
> PS. My test program, taken from tvmet tutorial:
> 
> #include <tvmet/Matrix.h>
> #include <tvmet/Vector.h>
> #include <iostream>
> 
> using namespace tvmet;
> using namespace std;
> 
> int main(int argc, char *argv[])
> {
>   Matrix<double, 3, 2> m1; // yes, non-square matrices are possible as well
>   m1 = 1, 4,
>        2, 5,
>        3, 6;
>   cout << m1 << endl;
>   return 0;
> }
> 




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/