I have been trying to find the substitute of numpy and perform some linear algebra using C++. Here's a list of the libraries I have encountered:

  1. Eigen
  2. Armadillo
  3. Dlib
  4. GNU Scientific library

Please guide which is the best library of all and is most widely and easily used.

Also explain different uses of different libraries if possible.

If I wish to perform some linear regression using C++, which one will come handy?

  • $\begingroup$ I suspect that a more important question is which algorithmic approach to linear regression is most efficient given your need for numerical stability. $\endgroup$
    – 42-
    Nov 20 '18 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.