Timeline for How do I extract the middle element(s) of a given list?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 2, 2015 at 7:36 | comment | added | Mr.Wizard |
@garej If I recall correctly I did not reject it, I simply chose Part , possibly for brevity but probably simply for variety.
|
|
Dec 1, 2015 at 21:07 | comment | added | garej |
@Mr.Wizard, why have you rejected mid[a_List] := Take[a, {#, -#}] &@\[LeftCeiling]Length@a/2\[RightCeiling] ? Is Part in general faster than Take ?
|
|
Jun 9, 2013 at 9:46 | comment | added | Mr.Wizard | @HyperGroups Thank you. | |
Jun 9, 2013 at 4:59 | comment | added | HyperGroups | Your codes always impressed me. | |
Jun 9, 2013 at 4:57 | vote | accept | HyperGroups | ||
Jun 8, 2013 at 12:02 | comment | added | Mr.Wizard | @Aky Thanks! We'll see. | |
Jun 8, 2013 at 11:59 | comment | added | Aky | I think your Update #2 answer is hard to top! | |
Jun 8, 2013 at 11:56 | history | edited | Mr.Wizard | CC BY-SA 3.0 |
added 87 characters in body
|
Jun 8, 2013 at 11:49 | history | edited | Mr.Wizard | CC BY-SA 3.0 |
added 87 characters in body
|
Jun 8, 2013 at 11:43 | history | answered | Mr.Wizard | CC BY-SA 3.0 |