Finally let's conclude with a discussion of different types of matrices Sage will generate for us, as well as eigenvalues and eigenvectors. First, we'll create a zero matrix, an identity matrix, and a matrix of ones.
|
|
Now we'll do some eigenvalues and eigenvectors.
|
|
The gibberish after 'egeinvectors:' should read:
[ (3, [(1,1)], 1), (1, [(1,-1)], 1) ]
The form is:
(eigenvalue, eigenvector, multiplicity)
|
|