开发者

Python module matrix class that implements Modulo 2 arithmetic?

开发者 https://www.devze.com 2022-12-19 02:59 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消