Skip to main content

Timeline for answer to The Hungry Mouse by Sumner18

Current License: CC BY-SA 4.0

Post Revisions

11 events
when toggle format what by license comment
May 6, 2019 at 18:47 comment added Giuseppe @Sumner18 X%o%Y is an alias for outer(X,Y,'*'). outer is one of the handiest functions around as it can function as the "broadcast" feature of Octave/MATLAB/MATL with aribtrary (vectorized) operators. See here; also handy on rare occasions is kronecker which is linked in that page.
May 6, 2019 at 18:44 comment added Sumner18 @Giuseppe What in tarnation is %o% and how does it work?
May 6, 2019 at 18:43 history edited Sumner18 CC BY-SA 4.0
added 8 characters in body
May 6, 2019 at 16:37 comment added Giuseppe 110 bytes using @RobinRyder 's golf and messing with compressing the neighborhood adjacency matrix.
May 6, 2019 at 14:38 history edited Sumner18 CC BY-SA 4.0
deleted 76 characters in body
May 6, 2019 at 14:30 comment added Robin Ryder 112 bytes improving upon @Giuseppe 's suggestions: you can store m as a logical instead of an integer, and thus only need to call which once instead of twice.
Nov 27, 2018 at 15:32 comment added Giuseppe 117 bytes -- change it to a function taking a matrix and do some aliasing with the which.
Nov 26, 2018 at 15:12 history edited Sumner18 CC BY-SA 4.0
added 49 characters in body
Nov 24, 2018 at 23:41 comment added Robert Hacken You can save one byte changing r==16 for r>15.
Nov 20, 2018 at 21:13 history edited Sumner18 CC BY-SA 4.0
added 84 characters in body
Nov 20, 2018 at 21:01 history answered Sumner18 CC BY-SA 4.0