LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   math library for linux (https://www.linuxquestions.org/questions/programming-9/math-library-for-linux-325458/)

kooshball 05-20-2005 02:42 PM

math library for linux
 
hi,
im lookign for a performance optimized math library for linux running on i386 arch. i was told DXML(CXML) is the best but it only seem to be supported on alpha and digital unix. can anyone suggest an alternative for i386? i downloaded the intel math kernel library but dotn know how that compares performance wise to other ones.
thx

kooshball 05-23-2005 01:58 PM

bumper

keefaz 05-23-2005 02:19 PM

You can always create 2 program tests which do the same math
functions and run them through time command from the shell

rjlee 05-28-2005 07:28 AM

The relative performance of different libraries varies wildly depending on the exact model of processor that you are using, and the optimisation characteristics of the compiler.

If speed is your concern, then you'll probably find that gcc -O3 will optimise almost any source code very well (unless it relies heavily on bad constructs like goto: and global variables, which are notoriously hard to optimise around anyway). You could also try playing with the various optimisation tags.

However, the best way to make a program run fast is still to optimise your algorims to be the lowest order possible, for large data sets, and the smallest number of instructions for small data sets.

Tinkster 05-28-2005 07:05 PM

I don't know the thing you mentioned, but have you seen
http://www.ginac.de/CLN/
?


Cheers,
Tink


All times are GMT -5. The time now is 05:51 PM.