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 


De: "Habeeb Syed" <[email protected]> 
À: "sage-support" <[email protected]> 
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, < [ mailto:[email protected] | 
[email protected] ] > 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 | 
https://en.wikipedia.org/wiki/Square_root_of_a_matrix ] and [ 
https://chat.openai.com/share/114817d2-908a-4776-b14a-5bc6e04b226b | 
https://chat.openai.com/share/114817d2-908a-4776-b14a-5bc6e04b226b ] 

William 

On Thu, Jun 8, 2023 at 9:05 AM Habeeb Syed < [ mailto:[email protected] 
| [email protected] ] > wrote: 

BQ_BEGIN

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 [ mailto:[email protected] | 
[email protected] ] . 
To view this discussion on the web visit [ 
https://groups.google.com/d/msgid/sage-support/CAL0kVBJJ1EtEZWzf5tr%2BWwt0TYjLE1PiS31zR25cCOSHSzMp%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer
 | 
https://groups.google.com/d/msgid/sage-support/CAL0kVBJJ1EtEZWzf5tr%2BWwt0TYjLE1PiS31zR25cCOSHSzMp%2Bw%40mail.gmail.com
 ] . 





-- 
William ( [ http://wstein.org/ | 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 [ mailto:[email protected] | 
[email protected] ] . 
To view this discussion on the web visit [ 
https://groups.google.com/d/msgid/sage-support/CACLE5GApSjYYKq4GScRuqX6TfNNn8rOfut8SPeC-gzUjyVrtPg%40mail.gmail.com?utm_medium=email&utm_source=footer
 | 
https://groups.google.com/d/msgid/sage-support/CACLE5GApSjYYKq4GScRuqX6TfNNn8rOfut8SPeC-gzUjyVrtPg%40mail.gmail.com
 ] . 

BQ_END



-- 
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 [ mailto:[email protected] | 
[email protected] ] . 
To view this discussion on the web visit [ 
https://groups.google.com/d/msgid/sage-support/CAL0kVBJG5HCKMVH-coDhY5z2wFj5J7J4P3CbxBvRXM2SRqOBmw%40mail.gmail.com?utm_medium=email&utm_source=footer
 | 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/1456572348.177053719.1686296004210.JavaMail.zimbra%40univ-orleans.fr.

Reply via email to