On Saturday, July 2, 2022 at 2:49:25 AM UTC+8 raymond....@gmail.com wrote:
> You (hongy) might be interested in > Matrix Groups (Universitext) 2nd Edition > by M. L. Curtis (Author) > Which is a pretty good introduction; although the price is a little high. > Thank you for letting know this book [1]. The first chapter of the book talks about the problem discussed here. [1] https://link.springer.com/book/10.1007/978-1-4684-0093-9 Best, HZ > On 7/1/22 13:38, John H Palmieri wrote: > > Is this the sort of thing you're looking for? > > def matrix_rep(z): > """ > INPUT: complex number z = a + bi > OUTPUT: the matrix > [a -b] > [b a] > """ > a = z.real_part() > b = z.imag_part() > return matrix(RR, [[a, -b], [b, a]]) > > On Friday, July 1, 2022 at 3:04:40 AM UTC-7 hongy...@gmail.com wrote: > >> How can I find the matrix representations corresponding to complex >> numbers and quaternions with the help of SageMath >> <https://www.sagemath.org/>, i.e., the ring isomorphism >> <https://en.wikipedia.org/wiki/Ring_isomorphism> from the field of >> complex numbers and quaternions to the rings of corresponding matrices, >> respectively, as described here >> <https://en.wikipedia.org/wiki/Complex_number#Matrix_representation_of_complex_numbers> >> >> and here >> <https://en.wikipedia.org/wiki/Quaternion#Matrix_representations>? >> >> Regards, >> HZ >> > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/143f4daf-9e77-4b1b-92f4-ab8cde91a1bbn%40googlegroups.com > > <https://groups.google.com/d/msgid/sage-support/143f4daf-9e77-4b1b-92f4-ab8cde91a1bbn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/1537fb2a-f3c8-422b-91fd-2ecd86e5cf29n%40googlegroups.com.