Math Libraries (and vectors, matrices, etc)
Dmitry Olshansky
dmitry.olsh at gmail.com
Tue Mar 13 13:06:12 PDT 2012
On 14.03.2012 0:03, H. S. Teoh wrote:
> On Tue, Mar 13, 2012 at 08:25:49PM +0100, Chris Pons wrote:
>> Does D have a math library that defines, points, vectors and
>> matrices including the appropriate functions(addition, dot product,
>> cross product, etc)?
>
> I'd like to know too.
>
> I have a medium-sized D project in the works, but right now I'm stuck at
> deciding how best to represent matrices and vectors in a generic way. My
> usage will be significantly different from game programming, though,
> 'cos I'll be dealing with arbitrary-dimensioned vectors and matrices,
> not just your typical 2D/3D vector (or 4D homogenous).
>
> But it'd be nice if both can be handled generically without crippling
> performance losses in the 2D/3D case for game dev.
>
>
> T
>
SciD worths a look, though never used nor had the need to:
https://github.com/kyllingstad/scid
--
Dmitry Olshansky
More information about the Digitalmars-d-learn
mailing list