Timeline for Elegantly adding two differently spaced lists of ordered pairs $(x, y)$
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 8, 2023 at 6:59 | answer | added | eldo | timeline score: 1 | |
| Jan 6, 2018 at 22:21 | answer | added | kglr | timeline score: 3 | |
| Nov 9, 2013 at 17:15 | vote | accept | Andrew | ||
| Sep 30, 2013 at 1:35 | answer | added | Murta | timeline score: 2 | |
| Sep 29, 2013 at 11:47 | answer | added | ubpdqn | timeline score: 1 | |
| Sep 29, 2013 at 1:20 | answer | added | Michael E2 | timeline score: 1 | |
| Sep 28, 2013 at 21:20 | history | tweeted | twitter.com/#!/StackMma/status/384065033258696704 | ||
| Sep 28, 2013 at 20:31 | answer | added | ybeltukov | timeline score: 2 | |
| Sep 28, 2013 at 18:11 | answer | added | rm -rf♦ | timeline score: 3 | |
| Sep 28, 2013 at 18:07 | comment | added | Andrew | @rm-rf Thanks. I just thought my way was clumsy, error-prone, and possibly even incorrect (for cases I hadn't tested). I thought maybe there would be a terse way to write it in one or two lines using Union or Intersection. Since my desired result is essentially adding two histograms, I thought maybe there would be something built-in like HistogramList to do the job. | |
| Sep 28, 2013 at 17:57 | comment | added | rm -rf♦ | Hmm... I'm quite certain that this is a duplicate, but I can't seem to find the post. Can you explain why you're dissatisfied with your answer? Seems fine to me (although, it could be written cleaner) or why you think there should be a built-in function for your specific need? Are you not satisfied with the speed or do you think it is clumsy? I'm just trying to understand your reasoning. I tend to think that if something is clear enough (to the author and others), does not have terrible performance and does the job, it is good enough. Extremely terse code often leads to unmaintainable code :) | |
| Sep 28, 2013 at 17:47 | history | asked | Andrew | CC BY-SA 3.0 |