Hi, I did some research on matrix inversion (linear algebra), and I wanted to use C ++ template programming for an algorithm that I found out that there are a number of methods such as: Gauss-Jordan exception or LU Decomposition and I found the LU_factorize function (C ++ boost library)
I want to know if there are other methods that are better (advantages / disadvantages), from the point of view of programmers or mathematicians?
If there are no other faster methods, is there already an (matrix) inversion function in the boost library, because I searched alot and didn't find it.
, LU, . LAPACK, , dgetrf (factor) dgetri ( ). .
dgetrf
dgetri
, , , . , Moore-Penrose pseudoverse , , ; .
Eigen .
, Google .
, . . n . , , .
, "". , , . , (, , ). , , , .
, , , , , , " ". : . . .
, . , . (, , -,...), , .
, , . -, : , , , , ..
:
, , - , , .
, , , , . , , Eigen, , .
, , StlXXL , ,
EDIT , , , - blockwise inversion. , (, , ). , , . , StlXXL , , . , ; - . ,
You might want to use a C ++ wrapper around LAPACK. LAPACK - very mature code: tested, optimized, etc.
One of these shells is the Intel Mathematical Core Library .
Source: https://habr.com/ru/post/1757026/More articles:Jquery, activate the script if hashtag at the end of the URL matches the class name - jqueryНужна помощь в понимании того, как List.Sort(IComparer (T)) знает значение для сортировки по - sortingHow to reload custom javascript file after Drupal makes ajax call? - javascriptМогу ли я ограничить HashMap объемом памяти, который он занимает? - javaDjango, Borg template, API calls, caching results - pythonDefining the primary keys of an object using context in Entity Framework 4.0 - reflection100% connreset with httperf? - load-testingStrange Java HashMap behavior - unable to find matching object - javaCan I extend the QPropertyAnimation refresh interval for ultra-smooth animation? - qtIs using checked exceptions in external APIs a good idea? - javaAll Articles