Digital Quasi-Affine Transform code