Timeline for Pairs of integers ordered by their exponentiation
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 14, 2022 at 14:41 | comment | added | Giuseppe |
@DominicvanEssen Of course. And A%x%!!1:n is a byte shorter than rep(A,e=n) for numeric vectors A .
|
|
Mar 14, 2022 at 14:40 | history | edited | Giuseppe | CC BY-SA 4.0 |
added 39 characters in body
|
Mar 13, 2022 at 13:29 | comment | added | Dominic van Essen | 49 bytes I think...? | |
Mar 11, 2022 at 18:07 | comment | added | Giuseppe |
@pajonk aahh that's great! I was coming from an outer(a,a,"^") approach (as you might have been able to tell), so I needed the extra argument to order , since 4,2 comes before 2,4 . Default sort method for order is stable, so that works, and there's even another byte saving.
|
|
Mar 11, 2022 at 18:03 | history | edited | Giuseppe | CC BY-SA 4.0 |
added 35 characters in body
|
Mar 11, 2022 at 16:19 | comment | added | pajonk |
Another -4 bytes as order is (I think) stable.
|
|
Mar 11, 2022 at 16:18 | comment | added | Giuseppe | @pajonk nice one, thanks! | |
Mar 11, 2022 at 16:18 | history | edited | Giuseppe | CC BY-SA 4.0 |
added 37 characters in body
|
Mar 11, 2022 at 16:10 | comment | added | pajonk | -2 bytes | |
Mar 11, 2022 at 14:16 | history | answered | Giuseppe | CC BY-SA 4.0 |