This repository contains functions to perform various calculations and manipulations on variables to transform them or to quantify them.
- transpose -- This set of functions take a 64bit variable which describes an 8x8 matrix and transposes it across either the right or left diagonal. Versions are available for machines with 32 bit or 64 bit integers.
- rotate -- These functions take a 64 bit variable which describes an 8x8 matrix and rotate it clockwise or counter-clockwise. Versions are available for machines with 32 or 64 bit integers.
- popcount -- These functions calculate the number of set bits in a 32 or 64 bit quantity.
- swap_endian -- These functions compute the bit reversal of 32 or 64 bit values.