S
S
Sergey2013-03-26 14:36:04
Mathematics
Sergey, 2013-03-26 14:36:04

Which library to choose for mathematical calculations

I'm going to write an application for calculating the parameters of thermal sensors. There are two problems - working with small and large numbers of the order of 1e-20 and 1e20 and solving large systems of linear equations (so far only this). I don't want to post my bikes.
It is clear that in Google GMP, GSL, MPFR, etc. are in two clicks. I would like to know the opinion of those who used them and what is better to choose?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nehyrb, 2013-03-26
@serega_kaktus

MPFR is an add-on for GMP that extends the functionality of working with floating point (trigonometry). GSL seems to be an independent product with wide functionality, in particular, I see a lot of built-in mats in it. methods. GMP, on the other hand, provides only basic functionality for large numbers, then you need to take extensions, such as MPFR (trigonometry), MPC (complex calculations) and, for sure, there are still a lot of add-ons.
In your case, it may make more sense to take GSL, it has built-in functions for matrix calculations, which should come in handy for systems of linear equations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question