http://qs1969.pair.com?node_id=600525


in reply to decomposing binary matrices

I think you are looking to simplify a "Karnaugh map". You might also look for code that simplify boolean expressions not represented as a k-map like the "Quine–McCluskey algorithm".

Update: I think I'm out to lunch. The axis of the matrix in your post do not look like they represent a boolean expression. My comment probably doesn't apply to your problem. :( I think it might be coffee time for me.