Python module matrix class that implements Modulo 2 arithmetic?
I'm looking for a pure Python module that implements a matrix class where the underlying matrix operations are computed in modulo 2 arithmetic as in
(x+开发者_高级运维y)%2
I need to do a lot of basic matrix manipulations ( transpose, multiplication, etc. ).
Any help appreciated.
Thanks in advance
This might help you. Look for the Matrix module on that page. Here is the source.
cheers
精彩评论