For a positive definite symmetric linear system, Cholesky decomposition based method should be the best solver which has a rough n^3/3
flops requirement.
What is the fomula of flops including n^2
, n
items? Is there any such reference?
From Numerical Linear Algebra by Trefethen and Bau, page 175, it seems that the formula is
\begin{align} \sum_{k=1}^{n}\sum_{j = k + 1}^{n} (2(n - j + 1) + 1). \end{align}
Eyeballing it, it seems to agree with the formula given by Boyd in his convex optimization notes: $(1/3)n^{3} + 2n^{2}$.
LU
decomposition and Householder
methods in solving linear systems?
$\endgroup$
Commented
Dec 20, 2013 at 6:50
Cholesky
decomposition, there are at least n
times square root
used; how to count such operations?
$\endgroup$
Commented
Dec 20, 2013 at 6:55
GMP
multiple precision library?
$\endgroup$
Commented
Dec 20, 2013 at 7:33