POLYOMINO_MATRIXSPAN is a MATLAB program which assembles a matrix associated with a polyomino tiling problem.
For a given matrix equation
c1*A1 + c2*A2 + ... + cn*An = B ---- (*)where c1, c2, ..., cn are unknowns and A1, A2, ..., An, are given matrices, and B is a matrix of all ones. The rows corresponding to the constraints of each Series are then added to the augmemnted matrix.
While the original program was strictly interactive, it has been modified to allow the input to be provided in a file. Thus, if the program is called with a nonempty filename argument, the input is read from this file, rather than through interaction with the user.
The computer code and data files made available on this web page are distributed under the GNU LGPL license.
You can go up one level to the MATLAB source codes.