X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/e855e688f51fb89163362cbcfdf8eb540e8264e7..HEAD:/latin.h diff --git a/latin.h b/latin.h index 5607afe..4b09f16 100644 --- a/latin.h +++ b/latin.h @@ -112,6 +112,9 @@ void latin_solver_debug(unsigned char *cube, int o); digit *latin_generate(int o, random_state *rs); +/* The order of the latin rectangle is max(w,h). */ +digit *latin_generate_rect(int w, int h, random_state *rs); + int latin_check(digit *sq, int order); /* !0 => not a latin square */ void latin_debug(digit *sq, int order);