The linear algebra of bit twiddling
The post explains that bit-twiddling operations, such as the tempering step of the Mersenne Twister, can be expressed as matrix multiplication modulo 2. It notes that standard linear algebra theorems apply regardless of the field of scalars, not just over real or complex numbers.