I am trying to solve a linear system Ax=b
where A
is 3x3
symmetric positive definite.
Though it is low in scale, I will have to repeat it for different A
s millions of times. So efficiency is still important.
There are many solvers for linear systems (C++, via Eigen).
I personally prefer: HouseholderQr().solve()
, and llt().solve()
, ldlt().solve()
.
I know that when n
is very large, solvers based on Cholesky decomposition are faster than that of Householder's. But for my case when n
is only 3, how can I compare their relative efficiency? Is there any formula for the exact float operation
analysis?
thanks