I would like to solve a system of linear equations:
Ax = b
A is the matrix nxm (not square), b and x are the vectors nx 1 . Where A and b are known, n is of the order of 50-100, and m is 2 (in other words, A can be maximum [100x2]).
I know the solution x : $x = \inv(A^TA) A^T b$
I found several ways to solve this problem: uBLAS (Boost), Lapack, Eigen, etc., but I donโt know how fast the processor time calculation of โxโ is calculated using these packages. I also don't know if it was numerically fast, why solve the "x"
What is important to me is that the computation time of the processor will be as short as possible, and good documentation, since I'm a beginner.
After solving the normal equation Ax = b I would like to improve my approximation using regressive and , possibly, later , applying the Kalman filter.
My question is, which C ++ library is a robot and faster for the needs described above?
Eagle
source share