Boost logo

Boost :

From: Andreas Harnack (ah.boost.04_at_[hidden])
Date: 2007-12-06 16:29:02


Chris Fairles schrieb:
> You might be interested in looking at blitz++ or tvmet. They both use
> expression templates to statically unroll various operators (for small
> sized vectors/matricies anyway). If I ever find a spare minute, I've
> always wanted to boostify one of those libs.
>
> Boost also has a UBLAS impl. which has a matrix and vector class
> (although not static).

Hi Chris,

I checked all of them and I found them way to complicated for
what I have in mind. Let's assume we have an application with a
graphical user interface, an object described by coordinates in
three-dimensional space and we need to project that object onto
a two-dimensional array of pixels; mathematically, that's a
simple 3x2 matrix multiplication, most likely in integer
arithmetic. Personally, the last thing I want to do is to
include a full scale Algebraic Library into the user face just
for such a simple task. What I want in such a case is a matrix
class, that is as easy to use and as widely available as, let's
say, the a complex numbers class.

By the way, the test suite actually uses uBLAS to verify the
results of the matrix operations. Not exactly a fool prove way,
but for the time being I think it's OK.

Andreas


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk