BUG[?]: ΣLIST, ΠLIST with verrrry short lists
|
12-24-2015, 03:08 AM
Post: #2
|
|||
|
|||
RE: BUG[?]: ΣLIST, ΠLIST with verrrry short lists
(12-23-2015 11:37 PM)chromos Wrote: The first case is not a bug. Sum of an empty list is not defined, as the list could contain things other than numbers. Think of a list of strings, where the sum would concatenate them. In that case, an empty list should mean an empty string "", not the number zero. In the second case, I agree the product of a 1-value list should be that value. An empty list is again a gray area. I think undefined answer is better than an arbitrary number 1. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)