4 ms·
In Julia: M = [1 2 3; 4 5 6; 7 8 9] λ = eigvals(M) Which is much the same.
by samatman 2y ago
In Julia:
M = [1 2 3; 4 5 6; 7 8 9]
λ = eigvals(M)
Which is much the same.
- bee_rider 2y agoSure, my point is that even the math-y programming languages and libraries don’t map very well to how mathematicians seem to describe eigenvalues. Personally I think of them as a characteristic of the matrix (but I just write numerical software, I’m not a mathematician) and implement them as the result of a process. So I don’t really see any reason to favor either syntax or call one more mathematical.