Suppose I have two matrices A=(1 0 ; 1 0) B=(0 0; 1 1) and suppose we know A and B are two similar matrices. Then there exist an invertible matrix P such that A=PBP^(-1). Now, how one can calculate the matrix P in sage.
![]() | 1 | initial version | |
Suppose I have two matrices A=(1 0 ; 1 0) B=(0 0; 1 1) and suppose we know A and B are two similar matrices. Then there exist an invertible matrix P such that A=PBP^(-1). Now, how one can calculate the matrix P in sage.
![]() | 2 | None |
Suppose I have two matrices A=(1 0 ; 1 0) and B=(0 0; 1 1) where A,B are two by two matrices and suppose we know A and B are two similar matrices. Then there exist an invertible matrix P such that A=PBP^(-1). Now, how one can calculate the matrix P in sage.