Re: [eigen] it compiles, so ship it! |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] it compiles, so ship it!
- From: "Schleimer, Ben" <bensch128@xxxxxxxxx>
- Date: Tue, 5 Jun 2007 04:16:27 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=3q/q3oJUMU8Tlz/8gi9ZUBc8Qun7oEqH6cx34Nl7wHSDakXJxrFzRMsBncqSV8+CRaCq2bwGHTE7hNhW3qvX2ay6AUUtR3mJ2SRNCEAsLnJpc7bBSOoTRbCNrxBcWHRmF0V/vi9/blB+RMHYLXiEpymukvbiKdJ1shZFZAzUhhM=;
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;
> }
>