How expensive is it to compute the eigenvalues of a matrix?

后端 未结 8 979
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-07 22:51

How expensive is it to compute the eigenvalues of a matrix?

What is the complexity of the best algorithms?

How long might it take in practice if I have a 1

8条回答
  •  旧时难觅i
    2020-12-07 23:30

    How long might it take in practice if I have a 1000x1000 matrix?

    MATLAB (based on LAPACK) computes on a dual-core 1.83 GHz machine all eigenvalues of a 1000x1000 random in roughly 5 seconds. When the matrix is symmetric, the computation can be done significantly faster and requires only about 1 second.

提交回复
热议问题