Post Reply 
median
09-13-2014, 06:44 PM
Post: #2
RE: median
The two conventions exist. I prefer to return an element of the sequence, because it applies to any ordered sequence without requiring to be able to add two elements and divide an element by 2. It is also easier to implement.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
median - Helge Gabert - 09-13-2014, 06:11 PM
RE: median - parisse - 09-13-2014 06:44 PM
RE: median - Marcel - 09-13-2014, 08:25 PM
RE: median - Joe Horn - 09-14-2014, 04:21 AM
RE: median - Don Shepherd - 09-13-2014, 09:46 PM
RE: median - Chris Pem10 - 09-14-2014, 02:24 AM
RE: median - Tim Wessman - 09-14-2014, 03:41 AM
RE: median - Helge Gabert - 09-14-2014, 04:35 AM
RE: median - Joe Horn - 09-14-2014, 07:17 AM
RE: median - parisse - 09-14-2014, 06:34 AM
RE: median - parisse - 09-14-2014, 09:37 AM
RE: median - Paul Dale - 09-14-2014, 09:51 AM
RE: median - parisse - 09-14-2014, 11:56 AM
RE: median - Thomas Radtke - 09-14-2014, 10:11 AM



User(s) browsing this thread: 2 Guest(s)