On Fri, Jun 9, 2023 at 8:33 AM cyrille.piate...@univ-orleans.fr <cyrille.piate...@univ-orleans.fr> wrote: > > Hello (I do not know which is your given name), > > I think what you are searching is called Cholesky factorization. It is > implemented in SageMath
this is not for finite fields, though. Cholesky only make sense for ordered fields. > > ________________________________ > De: "Habeeb Syed" <habeebbashas...@gmail.com> > À: "sage-support" <sage-support@googlegroups.com> > Envoyé: Vendredi 9 Juin 2023 04:43:46 > Objet: Re: [sage-support] Sqrt of a matrix over Fp > > Thanks for the reply Stein. It was very helpful. > > > On Thu, 8 Jun, 2023, 22:06 William Stein, <wst...@gmail.com> wrote: >> >> 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. >> >> >> >> -- >> 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. > > -- > 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/CAL0kVBJG5HCKMVH-coDhY5z2wFj5J7J4P3CbxBvRXM2SRqOBmw%40mail.gmail.com. > > -- > 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/1456572348.177053719.1686296004210.JavaMail.zimbra%40univ-orleans.fr. -- 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/CAAWYfq2PapPHVFYP7Nbnha%2BLFGu3ueidsP3QyJvQmM6SVbi3LQ%40mail.gmail.com.