|
D.3.2.19 jordanform
Procedure from library linalg.lib (see linalg_lib).
- Usage:
- jordanform(M); M constant square matrix
- Assume:
- The eigenvalues of M are in the coefficient field.
- Return:
- matrix, the Jordan normal form of M.
- Note:
- A non constant polynomial matrix M is replaced by its constant part.
- Display:
- The procedure displays more comments for higher printlevel.
Example:
| LIB "linalg.lib";
ring R=0,x,dp;
matrix M[3][3]=3,2,1,0,2,1,0,0,3;
print(M);
print(jordanform(M));
|
|