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

Reply via email to