For my project, I need to solve for a matrix X given matrices Y and K. 
(X*Y=K) The elements of each matrix must be integers modulo a random 
256-bit prime. My first attempt at solving this problem used SymPy's 
mod_inv(n) function. The problem with this is that I'm running out of 
memory with matrices of around size 30. My next thought was to perform 
matrix factorization, as that might be less heavy on memory. However, SymPy 
seems to contain no solver that can find matrices modulo a number. Any 
workarounds or self-made code I could use?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/8e443032-f6e4-45b6-ae58-1c07b31668f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to