Low dimensional matrices, vectors, quaternions and a cubic equation solver

Robert Jacques sandford at jhu.edu
Thu Apr 15 19:46:51 PDT 2010


On Thu, 15 Apr 2010 15:49:41 -0300, Gareth Charnock  
<gareth.charnock at gmail.com> 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.



More information about the Digitalmars-d mailing list