bool multiplication with exclusive-or, not or (with Eigen Matrix Library)
问题 I'm trying to implement hamming error correcting codes, and to do this I need to take a bool Vector (the data) and multiply it with a bool Matrix(hamming generator matrix), performing XOR operations (instead of what looks like OR as Eigen's default bool behavior). An example of what I am doing is found in this simple tutorial: http://michael.dipperstein.com/hamming/ I don't necessarily have to use Eigen, so please feel free to suggest something other than Eigen if you have the solution. So