C special mathematical function to the license bsd / mit - like

Do you know about reliable (ie, efficient and accurate) implementation of special mathematical functions (such as a function of gamma, beta, error and back error) for the C, available without a license gpl? BSD or MIT licenses beautiful.

So something like: http://www.gnu.org/software/gsl/manual/html_node/Special-Functions.html

but with a more permissive license. I know that there is something like boost, but a bit too far to add a dependency on boost it for this ... Moreover, C would be preferable in this context ...

Thanks!

+4
source share
4 answers

The answers to the questions below provide links to some excellent library, including fdlibm and cephes:

+2
source

ATLAS has binding C. The http://math-atlas.sourceforge.net/ ATLAS has a license to the BSD style. http://math-atlas.sourceforge.net/faq.html#license

0
source

I would recommend Numerical Recipes. If you use only a few recipes, you can send them an email asking them to allow commercial use by specifying the recipes you use. They are happy to undertake on my own experience.

0
source

C99 stdlib has features you mentioned, there is no need to access an external library: http://en.cppreference.com/w/c/numeric/math

Just look for the implementation cstdlib, that meets your requirements for licensing. glibc released under LGPL btw (not the same as GPL)!

0
source

All Articles