aboutsummaryrefslogtreecommitdiff
path: root/src/cube_portable.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-05-10 12:52:50 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-05-10 12:52:50 +0200
commitd26d9e46d305b3ab3c6ae3b55f1859cf413a1c94 (patch)
tree86bff43e2fee8aa20758e22102d4a87cac927a55 /src/cube_portable.h
parent88577f1ad03bde81ff56914fd6b05c3cec3aba19 (diff)
downloadnissy-core-d26d9e46d305b3ab3c6ae3b55f1859cf413a1c94.tar.gz
nissy-core-d26d9e46d305b3ab3c6ae3b55f1859cf413a1c94.zip
Started implementing new table generation
Diffstat (limited to 'src/cube_portable.h')
-rw-r--r--src/cube_portable.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cube_portable.h b/src/cube_portable.h
index 281faa0..fcd1d55 100644
--- a/src/cube_portable.h
+++ b/src/cube_portable.h
@@ -17,6 +17,7 @@ _static_inline int64_t coord_fast_co(cube_fast_t);
17_static_inline int64_t coord_fast_csep(cube_fast_t); 17_static_inline int64_t coord_fast_csep(cube_fast_t);
18_static_inline int64_t coord_fast_cocsep(cube_fast_t); 18_static_inline int64_t coord_fast_cocsep(cube_fast_t);
19_static_inline int64_t coord_fast_eo(cube_fast_t); 19_static_inline int64_t coord_fast_eo(cube_fast_t);
20_static_inline void set_eo_fast(cube_fast_t *, int64_t eo);
20_static_inline int64_t coord_fast_esep(cube_fast_t); 21_static_inline int64_t coord_fast_esep(cube_fast_t);
21 22
22_static_inline cube_fast_t 23_static_inline cube_fast_t
@@ -188,6 +189,12 @@ coord_fast_eo(cube_fast_t c)
188 return ret; 189 return ret;
189} 190}
190 191
192_static_inline void
193_set_eo_fast(cube_fast_t *cube, int64_t eo)
194{
195 /* TODO */
196}
197
191/* 198/*
192We encode the edge separation as a number from 0 to C(12,4)*C(8,4). 199We encode the edge separation as a number from 0 to C(12,4)*C(8,4).
193It can be seen as the composition of two "subset index" coordinates. 200It can be seen as the composition of two "subset index" coordinates.

Generated with cgit - Back to sebastiano.tronto.net