Reflect and Rotate a Polyomino

**POLYOMINO_TRANSFORM**,
a MATLAB program which
transforms the matrix representing a polyomino by reflection and
rotation.

The polyomino is described by an MxN matrix containing only 0 and 1 values.

A reflection is implemented by reversing the order of entries in each row.

A rotation of 90 degrees rotates the matrix counterclockwise. The values of M and N are also interchanged.

The transformation to be carried out will involve 0 or 1 reflections, followed by 0, 1, 2 or 3 rotations of 90 degrees.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

**polyomino_transform** is available in
a MATLAB version.

- polyomino_print.m, prints a polyomino.
- polyomino_transform.m
- timestamp.m, prints the YMDHMS date as a timestamp.