[GAP Forum] Computing eigenvalues with multiplicities
Moritz Schmitt
moritz.schmitt at gmail.com
Wed Dec 3 15:59:38 GMT 2014
Dear all,
Let's assume we are given an integer matrix like
m := [ [ 1, 0, 0 ], [ 0, -1, 0 ], [ 0, 0, 1 ] ]
How do we compute all eigenvalues of m with multiplicities? If I use the command
Eigenvalues(Rationals, m);
I only get as output
[1,-1]
but actually need something like [1,1,-1]. I browsed GAP's manual but
didn't find anything.
Thanks in advance.
Moritz
More information about the Forum
mailing list