Boost logo

Boost :

Subject: Re: [boost] different matrix library?
From: joel (joel.falcou_at_[hidden])
Date: 2009-08-11 04:42:01

DE wrote:
> hi
> i'm new to boost so please don't blame me
> the question is
> do you need a matrix library which allows you to write clear, human
> readable code like
> dV = (1/m)*force + transpose(A)*g - cross_product(omega, V)
> //here dV is a derivative of velocity, m is (scalar) mass
> //A is transition matrix and
> //g is gravity acceleration vector
> //omega is angular velocity and V is velocity vector itself
> //force is defined in body space (e.g. aerodynamics and thrust)
> that is an expression of newton's 2nd law (or if you like
> 'change in momentum' law:
> d(m*V)/dt = d_local(m*V)/dt + (omega)x(m*V) = sum_of(forces)
> as you can see so far i'm a math nerd)
> of course it must be implemented through lazy evaluation technique
> (which immediately implies expression templates
NT2 is a library of mine which aims at this. It's not complete yet even
if an old prototype is available on sourceforge.

Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

Boost list run by bdawes at, gregod at, cpdaniel at, john at