سؤال

I'm looking for a C++ library that includes pinv (pseudo inverse matrix operation in MATLAB). I tried to use Armadillo but it lacks of Multi-threaded debug DLL(/MDd), but I need that type of lib for my project . check this.

I would be happy if you can share that version of lib or propose an alternative and lightweight library.

هل كانت مفيدة؟

المحلول

You can use cv::invert function of OpenCV to calculate pseudo-inverse of a matrix.

The library is multi threaded, and uses Intel Thread Building Blocks to accelerate processing.

نصائح أخرى

Armadillo will happily use multi-threaded LAPACK libraries. Instead of using standard LAPACK, it's simply a matter of linking with a version of LAPACK that has multi-threading. For example, Intel's Math Kernel Library (MKL).

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top