07-Sep-2020 14:26:21 polyiamonds_test MATLAB/Octave version 4.2.2. Test polyiamonds(). 07-Sep-2020 14:26:21 boundary_word_is_legal_test MATLAB/Octave version 4.2.2 boundary_word_is_legal() checks whether a polyiamond boundary word is legal. Index Name Word Legal 1 bat "11004343" True 2 butterfly "11504423" True 3 club "11044532" True 4 crown "11045342" True 5 hexagon "105432" True 6 lobster "02055332" True 7 pistol "01045332" True 8 rhomboid "11104443" True 9 shoe "10205433" True 10 snake "01053432" True 11 sphinx "11154533" True 12 yacht "11053533" True boundary_word_is_legal_test Normal end of execution. 07-Sep-2020 14:26:21 07-Sep-2020 14:26:21 hexiamond_name_test MATLAB/Octave version 4.2.2 hexiamond_name returns the "name" of a hexiamond, given its index between 1 and 12. Index Name 0 "?" 1 "bat" 2 "butterfly" 3 "club" 4 "crown" 5 "hexagon" 6 "lobster" 7 "pistol" 8 "rhomboid" 9 "shoe" 10 "snake" 11 "sphinx" 12 "yacht" 13 "?" hexiamond_name_test Normal end of execution. 07-Sep-2020 14:26:21 07-Sep-2020 14:26:21 hexiamond_triangle_ijk_test MATLAB/Octave version 4.2.2 hexiamond_triangle_ijk() returns the IJK parallelogram triangle coordinates of the triangles that make up a hexiamond, given its index between 1 and 12. bat 1 1 0 1 1 1 2 1 0 2 1 1 2 2 0 2 2 1 butterfly 2 1 0 2 1 1 3 1 0 1 2 1 2 2 0 2 2 1 club 1 1 1 2 1 0 2 1 1 3 1 0 3 1 1 1 2 0 crown 1 1 1 2 1 0 2 1 1 3 1 0 3 1 1 2 2 0 hexagon 1 1 1 2 1 0 2 1 1 1 2 0 1 2 1 2 2 0 lobster 1 1 1 1 2 1 1 2 0 2 1 1 2 2 0 1 3 0 pistol 1 1 1 1 2 0 1 2 1 2 2 0 2 2 1 1 3 0 rhomboid 1 1 0 1 1 1 2 1 0 2 1 1 3 1 0 3 1 1 shoe 1 1 0 1 1 1 1 2 1 1 2 0 2 2 0 2 1 1 snake 1 1 1 1 2 0 1 2 1 2 2 0 2 2 1 2 3 0 sphinx 1 1 0 1 1 1 2 1 0 2 1 1 3 1 0 1 2 0 yacht 1 1 0 1 1 1 2 1 0 2 1 1 1 2 0 2 2 0 hexiamond_triangle_ijk_test Normal end of execution. 07-Sep-2020 14:26:21 07-Sep-2020 14:26:21 hexiamond_vertex_ij_test MATLAB/Octave version 4.2.2 hexiamond_vertex_ij() returns the IJ parallelogram point coordinates of the vertices that bound a hexiamond, given its index between 1 and 12. bat 0 0 2 0 2 2 1 2 1 1 0 1 butterfly 1 0 3 0 2 1 2 2 0 2 1 1 club 1 0 3 0 3 1 1 1 0 2 0 1 crown 1 0 3 0 3 1 2 1 1 2 1 1 0 1 hexagon 1 0 2 0 2 1 1 2 0 2 0 1 lobster 1 0 1 1 2 0 2 1 0 3 0 1 pistol 1 0 1 1 2 1 2 2 1 2 0 3 0 1 rhomboid 0 0 3 0 3 1 0 1 shoe 0 0 1 0 1 1 2 0 2 1 1 2 0 2 snake 1 0 1 1 2 1 2 2 1 3 1 2 0 2 0 1 sphinx 0 0 3 0 2 1 1 1 0 2 yacht 0 0 2 0 2 1 1 2 1 1 0 2 hexiamond_vertex_ij_test Normal end of execution. 07-Sep-2020 14:26:21 07-Sep-2020 14:26:21 ij_to_xy_test MATLAB/Octave version 4.2.2 ij_to_xy converts a point's (i,j) coordinates to (x,y). (I,J) (X,Y) (0,0) (0.000000,0.000000) (1,0) (1.000000,0.000000) (2,0) (2.000000,0.000000) (3,0) (3.000000,0.000000) (4,0) (4.000000,0.000000) (5,0) (5.000000,0.000000) (0,1) (0.500000,0.866025) (1,1) (1.500000,0.866025) (2,1) (2.500000,0.866025) (3,1) (3.500000,0.866025) (4,1) (4.500000,0.866025) (5,1) (5.500000,0.866025) (0,2) (1.000000,1.732051) (1,2) (2.000000,1.732051) (2,2) (3.000000,1.732051) (3,2) (4.000000,1.732051) (4,2) (5.000000,1.732051) (5,2) (6.000000,1.732051) (0,3) (1.500000,2.598076) (1,3) (2.500000,2.598076) (2,3) (3.500000,2.598076) (3,3) (4.500000,2.598076) (4,3) (5.500000,2.598076) (5,3) (6.500000,2.598076) (0,4) (2.000000,3.464102) (1,4) (3.000000,3.464102) (2,4) (4.000000,3.464102) (3,4) (5.000000,3.464102) (4,4) (6.000000,3.464102) (5,4) (7.000000,3.464102) ij_to_xy_test Normal end of execution. 07-Sep-2020 14:26:21 07-Sep-2020 14:26:21 ijk_to_xy_test MATLAB/Octave version 4.2.2 ijk_to_xy returns the (x,y) vertex coordinates of a triangle, given its (i,j,k) coordinates. (I,J,K) (X1,Y1) (X2,Y2) (X3,Y3) (1,1) (0.000000,0.000000) (1.000000,0.000000) (0.500000,0.866025) (1,1) (1.500000,0.866025) (0.500000,0.866025) (1.000000,0.000000) (2,1) (1.000000,0.000000) (2.000000,0.000000) (1.500000,0.866025) (2,1) (2.500000,0.866025) (1.500000,0.866025) (2.000000,0.000000) (3,1) (2.000000,0.000000) (3.000000,0.000000) (2.500000,0.866025) (3,1) (3.500000,0.866025) (2.500000,0.866025) (3.000000,0.000000) (4,1) (3.000000,0.000000) (4.000000,0.000000) (3.500000,0.866025) (4,1) (4.500000,0.866025) (3.500000,0.866025) (4.000000,0.000000) (5,1) (4.000000,0.000000) (5.000000,0.000000) (4.500000,0.866025) (5,1) (5.500000,0.866025) (4.500000,0.866025) (5.000000,0.000000) (1,2) (0.500000,0.866025) (1.500000,0.866025) (1.000000,1.732051) (1,2) (2.000000,1.732051) (1.000000,1.732051) (1.500000,0.866025) (2,2) (1.500000,0.866025) (2.500000,0.866025) (2.000000,1.732051) (2,2) (3.000000,1.732051) (2.000000,1.732051) (2.500000,0.866025) (3,2) (2.500000,0.866025) (3.500000,0.866025) (3.000000,1.732051) (3,2) (4.000000,1.732051) (3.000000,1.732051) (3.500000,0.866025) (4,2) (3.500000,0.866025) (4.500000,0.866025) (4.000000,1.732051) (4,2) (5.000000,1.732051) (4.000000,1.732051) (4.500000,0.866025) (5,2) (4.500000,0.866025) (5.500000,0.866025) (5.000000,1.732051) (5,2) (6.000000,1.732051) (5.000000,1.732051) (5.500000,0.866025) (1,3) (1.000000,1.732051) (2.000000,1.732051) (1.500000,2.598076) (1,3) (2.500000,2.598076) (1.500000,2.598076) (2.000000,1.732051) (2,3) (2.000000,1.732051) (3.000000,1.732051) (2.500000,2.598076) (2,3) (3.500000,2.598076) (2.500000,2.598076) (3.000000,1.732051) (3,3) (3.000000,1.732051) (4.000000,1.732051) (3.500000,2.598076) (3,3) (4.500000,2.598076) (3.500000,2.598076) (4.000000,1.732051) (4,3) (4.000000,1.732051) (5.000000,1.732051) (4.500000,2.598076) (4,3) (5.500000,2.598076) (4.500000,2.598076) (5.000000,1.732051) (5,3) (5.000000,1.732051) (6.000000,1.732051) (5.500000,2.598076) (5,3) (6.500000,2.598076) (5.500000,2.598076) (6.000000,1.732051) (1,4) (1.500000,2.598076) (2.500000,2.598076) (2.000000,3.464102) (1,4) (3.000000,3.464102) (2.000000,3.464102) (2.500000,2.598076) (2,4) (2.500000,2.598076) (3.500000,2.598076) (3.000000,3.464102) (2,4) (4.000000,3.464102) (3.000000,3.464102) (3.500000,2.598076) (3,4) (3.500000,2.598076) (4.500000,2.598076) (4.000000,3.464102) (3,4) (5.000000,3.464102) (4.000000,3.464102) (4.500000,2.598076) (4,4) (4.500000,2.598076) (5.500000,2.598076) (5.000000,3.464102) (4,4) (6.000000,3.464102) (5.000000,3.464102) (5.500000,2.598076) (5,4) (5.500000,2.598076) (6.500000,2.598076) (6.000000,3.464102) (5,4) (7.000000,3.464102) (6.000000,3.464102) (6.500000,2.598076) ijk_to_xy_test Normal end of execution. 07-Sep-2020 14:26:21 07-Sep-2020 14:26:21 point_in_polygon_test point_in_polygon() determines if a point is in a polygon. Polygon vertices: 1: 0.000000 0.000000 2: 1.000000 0.000000 3: 2.000000 1.000000 4: 1.000000 2.000000 5: 0.000000 2.000000 P Inside? 1.000000 1.000000 True 3.000000 4.000000 False 0.000000 2.000000 False 0.500000 -0.250000 False point_in_polygon_test Normal end of execution. 07-Sep-2020 14:26:21 07-Sep-2020 14:26:21 polyiamond_free_enumerate_test: MATLAB/Octave version 4.2.2 polyiamond_free_enumerate returns counts of the number of free polyiamonds. Order Number 0 1 1 1 2 1 3 1 4 3 5 4 6 12 7 24 8 66 9 160 10 448 11 1186 12 3334 13 9235 14 26166 15 73983 16 211297 17 604107 18 1736328 19 5000593 20 14448984 21 41835738 22 121419260 23 353045291 24 1028452717 25 3000800627 26 8769216722 27 25661961898 28 75195166667 29 220605519559 30 647943626796 polyiamond_free_enumerate_test: Normal end of execution. 07-Sep-2020 14:26:21 07-Sep-2020 14:26:21 polyiamond_grid_plot_test MATLAB/Octave version 4.2.2 polyiamond_grid_plot plots a grid for polyiamonds. Graphics saved as "polyiamond_grid_plot_test.png" polyiamond_grid_plot_test Normal end of execution. 07-Sep-2020 14:26:23 07-Sep-2020 14:26:23 polyiamond_plot_test MATLAB/Octave version 4.2.2 polyiamond_plot() plots a polyiamond. Graphics saved as "bat.png" Graphics saved as "butterfly.png" Graphics saved as "club.png" Graphics saved as "crown.png" Graphics saved as "hexagon.png" Graphics saved as "lobster.png" Graphics saved as "pistol.png" Graphics saved as "rhomboid.png" Graphics saved as "shoe.png" Graphics saved as "snake.png" Graphics saved as "sphinx.png" Graphics saved as "yacht.png" polyiamond_plot_test Normal end of execution. 07-Sep-2020 14:26:32 07-Sep-2020 14:26:32 polyiamond_region_plot_test MATLAB/Octave version 4.2.2 polyiamond_region_plot plots a region. Graphics saved as "polyiamond_region_plot_test.png" polyiamond_region_plot_test Normal end of execution. 07-Sep-2020 14:26:35 07-Sep-2020 14:26:35 triangle_ijk_fill_test MATLAB/Octave version 4.2.2 triangle_ijk_fill plots a triangle given IJK coordinates. Graphics saved as "triangle_ijk_fill_test.png" triangle_ijk_fill_test Normal end of execution. 07-Sep-2020 14:26:36 07-Sep-2020 14:26:36 triangle_ijk_in_region_test MATLAB/Octave version 4.2.2 triangle_ijk_in_region() reports whether a triangle is inside a polygonal region. i j k inside? 1 1 0 True 1 1 1 True 2 1 0 True 2 1 1 True 3 1 0 True 3 1 1 True 4 1 0 True 4 1 1 True 5 1 0 True 5 1 1 True 1 2 0 False 1 2 1 False 2 2 0 False 2 2 1 False 3 2 0 True 3 2 1 True 4 2 0 True 4 2 1 True 5 2 0 True 5 2 1 False 1 3 0 False 1 3 1 False 2 3 0 False 2 3 1 True 3 3 0 True 3 3 1 True 4 3 0 True 4 3 1 True 5 3 0 False 5 3 1 False 1 4 0 True 1 4 1 True 2 4 0 True 2 4 1 True 3 4 0 True 3 4 1 False 4 4 0 True 4 4 1 True 5 4 0 False 5 4 1 False 1 5 0 False 1 5 1 False 2 5 0 True 2 5 1 False 3 5 0 False 3 5 1 False 4 5 0 True 4 5 1 True 5 5 0 False 5 5 1 False triangle_ijk_in_region_test Normal end of execution. 07-Sep-2020 14:26:36 polyiamonds_test Normal end of execution. 07-Sep-2020 14:26:36