Timeline for Print a Block-Diagonal Matrix
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 11, 2015 at 18:11 | history | edited | MickyT | CC BY-SA 3.0 | added 101 characters in body |
| Feb 10, 2015 at 22:55 | history | edited | MickyT | CC BY-SA 3.0 | added 87 characters in body |
| Feb 10, 2015 at 22:09 | history | edited | MickyT | CC BY-SA 3.0 | added 229 characters in body |
| Feb 10, 2015 at 21:57 | comment | added | Alex A. | You can save another 2 by removing f=. This gives you a function object. If you do that, you just have to stipulate that it be assigned using something like f= before running it. I didn't realize that was legit in contests like this until I saw Martin Büttner do it with Ruby. | |
| Feb 10, 2015 at 21:51 | comment | added | MickyT | @Alex Thanks, didn't realise that. Still on a learning curve | |
| Feb 10, 2015 at 21:19 | comment | added | Alex A. | You can save 2 bytes using partial matching of function parameters. In cat(), change sep= to s= since no other recognized parameters for that function begin with "s". | |
| Feb 10, 2015 at 20:52 | history | edited | MickyT | CC BY-SA 3.0 | added 4 characters in body |
| Feb 10, 2015 at 19:55 | history | edited | MickyT | CC BY-SA 3.0 | deleted 430 characters in body |
| Feb 10, 2015 at 19:33 | history | answered | MickyT | CC BY-SA 3.0 |