Hi, You will probably have to implement a function to find a sqrt (if it exists) in terms of other higher level primitives.
See https://en.wikipedia.org/wiki/Square_root_of_a_matrix and https://chat.openai.com/share/114817d2-908a-4776-b14a-5bc6e04b226b William On Thu, Jun 8, 2023 at 9:05 AM Habeeb Syed <habeebbashas...@gmail.com> wrote: > Hi, > I need to compute square roots of matrices defined over finite fields. > It seems sage has no such function. I am getting this error. > > AttributeError: > 'sage.matrix.matrix_modn_dense_float.Matrix_modn_dense_float' object has no > attribute 'sqrt' > > Any help on this will be very useful to me. > > Regards, > HS > > -- > 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/CAL0kVBJJ1EtEZWzf5tr%2BWwt0TYjLE1PiS31zR25cCOSHSzMp%2Bw%40mail.gmail.com > <https://groups.google.com/d/msgid/sage-support/CAL0kVBJJ1EtEZWzf5tr%2BWwt0TYjLE1PiS31zR25cCOSHSzMp%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- William (http://wstein.org) -- 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/CACLE5GApSjYYKq4GScRuqX6TfNNn8rOfut8SPeC-gzUjyVrtPg%40mail.gmail.com.