On 16-apr-10, at 04:46, Robert Jacques wrote:
On Thu, 15 Apr 2010 15:49:41 -0300, Gareth Charnock <[email protected]
> wrote:
As a side effect of my PhD project I've got a collection of
mathematical classes. I'd be happy to collect them together, tidy
them up and donate them to phobos the authors are interested in
including them. Matrices and vectors in particular get reinvented
all the time so I'm sure users of D will appreciate them being
there. Quaternions are probably somewhat more specialised; they are
most often used for representing rotations (they have different
advantages and disadvantages to rotation matrices). I've also
written a solver for cubic equations.
The matrix and vector classes are of the sort where the dimension
is known at compile time and will probably be most useful for
modelling geometry. High dimensional matrices and vectors are
probably better left to a scientific library (I remember there was
talk that one might be being proposed).
Would this sort of functionality be useful for phobos? At the
moment, I can't promise anything, I'm just trying to judge the
interest should I find time to look into it.
Gareth Charnock
I've also re-invented this wheel for my research (vectors and
quaternions). I'll gladly send you a copy if you want to have a look-
see.
I use (sligltly patched) omg versions of these
http://team0xf.com:8080/omg
that seem to work reasonably well for my purposes (D1.0)
Fawzi