07-Jan-2022 16:32:33 boundary_word_right_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2. Test boundary_word_right(). boolean_to_string_test boolean_to_string() creates the string "True" or "False" based on a boolean value. This can be useful when printing boolean results. I isPrime? 1 False 2 True 3 True 4 False 5 True 6 False 7 True 8 False 9 False 10 False boolean_to_string_test Normal end of execution. grid_plot_test(): grid_plot() plots a polyabolo grid from its boundary word. Graphics saved as "grid_plot_test.png" grid_plot_test(): Normal end of execution. tetrabolo_name_test(): tetrabolo_name() returns the Gardner and Friedman names of a tetrabolo, given its index. Index Gardner Friedman 1 A i 2 B o 3 C a 4 D c 5 E y 6 F s 7 G v 8 H l 9 I z 10 J j 11 K k 12 L d 13 M r 14 N g tetrabolo_name_test(): Normal end of execution. vertex_plot_test(): vertex_plot() plots a polyabolo and its triangles from its vertex list. Graphics saved as "vertex_plot_gort.png" vertex_plot_test(): Normal end of execution. word_plot_test(): word_plot() plots a polyabolo from its boundary word. Graphics saved as "word_plot_heart.png" word_plot_test(): Normal end of execution. word_print_test(): word_print() prints a polyabolo from its boundary word. "gort" boundary word: "AAAAABCBBBEFFCCFEFAGFEEF" base point : [ 0, 0 ] "tiny" boundary word: "ADDGH" base point : [ 1, 0 ] "A" boundary word: "AACEEG" base point : [ 0, 0 ] "B" boundary word: "HBDF" base point : [ 0, 0 ] "C" boundary word: "AADDGG" base point : [ 0, 0 ] "D" boundary word: "ACDEHG" base point : [ 0, 0 ] "E" boundary word: "ABECFG" base point : [ 0, 0 ] "F" boundary word: "AHBEDF" base point : [ 0, 0 ] "G" boundary word: "ABDEHF" base point : [ 0, 0 ] "H" boundary word: "ABBEFF" base point : [ 0, 0 ] "I" boundary word: "AABEEF" base point : [ 0, 0 ] "J" boundary word: "ABADFF" base point : [ 0, 0 ] "K" boundary word: "ABEDGG" base point : [ 0, 0 ] "L" boundary word: "AAADEF" base point : [ 0, 0 ] "M" boundary word: "ACADFG" base point : [ 0, 0 ] "N" boundary word: "ABDFAF" base point : [ 0, 0 ] word_print_test(): Normal end of execution. word_range_test(): word_range() finds the minimum and maximum I and J coordinates of a polyabolo drawn from its boundary word and starting at P. Name Imin Imax Jmin Jmax Pi Pj Word gort 0 9 0 5 0 0 "AAAAABCBBBEFFCCFEFAGFEEF" tiny 0 2 0 2 1 0 "ADDGH" A 0 2 0 1 0 0 "AACEEG" B 0 2 -1 1 0 0 "HBDF" C 0 2 0 2 0 0 "AADDGG" D -1 1 0 2 0 0 "ACDEHG" E 0 2 0 2 0 0 "ABECFG" F 0 3 -1 1 0 0 "AHBEDF" G 0 2 0 2 0 0 "ABDEHF" H 0 3 0 2 0 0 "ABBEFF" I 0 3 0 1 0 0 "AABEEF" J 0 3 0 2 0 0 "ABADFF" K 0 2 0 2 0 0 "ABEDGG" L 0 3 0 1 0 0 "AAADEF" M 0 2 0 2 0 0 "ACADFG" N 0 2 0 2 0 0 "ABDFAF" boundary_range_test(): Normal end of execution. word_reflect_test(): word_reflect() reflects a polyabolo up and down. "Gort" boundary word: "AAAAABCBBBEFFCCFEFAGFEEF" base point : [ 0, 0 ] "Gort after reflection:" boundary word: "AAAAAHGHHHEDDGGDEDACDEED" base point : [ 0, 0 ] Graphics saved as "word_reflect_test.png" word_reflect_test(): Normal end of execution. word_representative_test(): word_representative() is given a boundary word, and returns the representative of its equivalence class. "gort variation:" boundary word: "EFFCCFEFAGFEEFAAAAABCBBB" base point : [ 0, 0 ] "representative:" boundary word: "AAAAABCBBBEFFCCFEFAGFEEF" base point : [ 0, 0 ] word_representative_test(): Normal end of execution. word_rotate_test(): word_rotate() rotates a polyabolo by multiples of 90 degrees. "Gort" boundary word: "AAAAABCBBBEFFCCFEFAGFEEF" base point : [ 0, 0 ] "Gort after 90 degree rotation" boundary word: "CCCCCDEDDDGHHEEHGHCAHGGH" base point : [ 0, 0 ] Graphics saved as "word_rotate_test.png" word_rotate_test(): Normal end of execution. word_to_triangle_test(): word_to_triangle() converts a boundary word to a triangle list. " Gort boundary word" boundary word: "AAAAABCBBBEFFCCFEFAGFEEF" base point : [ 0, 0 ] Gort triangle list 1: 1 1 0 2: 1 1 1 3: 2 1 0 4: 2 1 1 5: 2 1 2 6: 2 1 3 7: 3 1 0 8: 3 1 1 9: 3 1 2 10: 3 1 3 11: 4 1 0 12: 4 1 1 13: 4 1 2 14: 4 1 3 15: 5 1 0 16: 5 1 1 17: 5 1 2 18: 5 1 3 19: 6 1 2 20: 6 1 3 21: 4 2 0 22: 4 2 1 23: 5 2 0 24: 5 2 1 25: 5 2 2 26: 5 2 3 27: 6 2 0 28: 6 2 1 29: 6 2 2 30: 6 2 3 31: 5 3 0 32: 5 3 1 33: 5 3 2 34: 5 3 3 35: 6 3 0 36: 6 3 1 37: 6 3 2 38: 6 3 3 39: 7 3 2 40: 7 3 3 41: 4 4 0 42: 4 4 1 43: 5 4 0 44: 5 4 1 45: 5 4 2 46: 5 4 3 47: 6 4 0 48: 6 4 1 49: 6 4 2 50: 6 4 3 51: 7 4 0 52: 7 4 1 53: 8 4 2 54: 8 4 3 55: 6 5 0 56: 6 5 1 57: 8 5 0 58: 8 5 1 59: 9 5 2 60: 9 5 3 word_to_triangle_test(): Normal end of execution. word_to_vertex_test(): word_to_vertex() converts a boundary word to a vertex list. "Gort word" boundary word: "AAAAABCBBBEFFCCFEFAGFEEF" base point : [ 0, 0 ] Gort vertex list 1: 0 0 2: 5 0 3: 6 1 4: 6 2 5: 9 5 6: 8 5 7: 6 3 8: 6 5 9: 5 4 10: 4 4 11: 3 3 12: 4 3 13: 4 2 14: 3 1 15: 1 1 word_to_vertex_test(): Normal end of execution. boundary_word_right_test(): Normal end of execution. 07-Jan-2022 16:32:43