>> The mathematical definition for max() I learned in Calculus 101 was >> "the smallest element which is > then all arguments" > >Then I guess American and Dutch calculus are different. [from Israeli calculus] The missing bit linking the two (sup and max) is "The supremum of S is equal to its maximum if S possesses a greatest member." [http://www.cenius.fsnet.co.uk/refer/maths/articles/s/supremum.html] So given a subset of a lattice, it may not have a maximum, but it will always have a supremum. It appears that the Python max function differs from the mathematical maximum in that respect: max will return a value, even if that is not the "largest value"; the mathematical maximum might give no value. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4