aboutsummaryrefslogtreecommitdiff
path: root/latin.h
diff options
context:
space:
mode:
Diffstat (limited to 'latin.h')
-rw-r--r--latin.h3
1 files changed, 3 insertions, 0 deletions
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);