Archived

This topic is now archived and is closed to further replies.

What features do you think every maths library should have?

This topic is 5012 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

... Because I''m developing one at the moment. I am already putting in fully featured functions for matrices, vectors and quaternions, but I''m just wondering what else do people think would be needed in a general purpose games maths library.

Share this post


Link to post
Share on other sites
Some things that might be appreciated:
*a macro #carmacks_sqrt(n)
*n-space vectors (instead of 4-space)
*a good rational class (preserve precision) and supports rational exponents (and evaluates the exponents at the last second)
umm.. all I can think of right now. I haven''t done the physics engine thing... so I can''t really answer from that perspective. All my games have dealt exclusively with abstracted coordinates and such things. (And a few math games)

Scout



All polynomials are funny - some to a higher degree.
Furthermore, polynomials of degree zero are constantly funny.

Share this post


Link to post
Share on other sites
intergration/deintergration

mathML parser (you''d have to redisign the compiler around this but it''d be soo cool)

n-dimension equations solver (vectors, quintorions, eulers, ect.)

and for the the love of god a multidimensional matrix solver

Share this post


Link to post
Share on other sites