Timeline for Consolidate an Array
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 8, 2016 at 8:56 | comment | added | Lobachevsky | ⍴↑{⍵~0} will return an empty vector. ⍴⍴↑{⍵~0} is a (one element vector) zero. | |
Feb 7, 2016 at 16:17 | comment | added | Lobachevsky | Not so fast. ⍴↑{⍵~0} won't work everywhere, not in APL2000, nor in IBM APL2. | |
Feb 3, 2016 at 13:26 | comment | added | jimmy23013 |
You should either write a full program and read the input from stdin, or write a function and read the input from its parameters. But you can use ⍴↑{⍵~0} and that's even shorter.
|
|
Feb 3, 2016 at 13:06 | history | edited | SuperJedi224 | CC BY-SA 3.0 |
Improve formatting
|
Feb 3, 2016 at 10:49 | history | edited | Lobachevsky | CC BY-SA 3.0 |
added 105 characters in body
|
Feb 3, 2016 at 10:23 | review | First posts | |||
Feb 3, 2016 at 13:30 | |||||
Feb 3, 2016 at 10:19 | history | answered | Lobachevsky | CC BY-SA 3.0 |