minelement
Minelement is a term used in mathematics and computer science to denote the minimum element of a set under a given order, or to refer to an operation that selects that element from a collection.
Definition: In a partially ordered set (P, ≤), a nonempty subset S has a minimum element m ∈
Minimal versus minimum: A minimal element has no smaller element within the set, but there can be
Computing: In programming, a minelement operation returns the minimum element according to a comparator. It is
Examples: minElement([3, 7, 2, 9]) = 2. In a lexicographic ordering, minElement(["apple","banana","apricot"]) = "apple".
Limitations: Some sets, such as the positive real numbers under ≤, have no minimum element even though
See also: minimum element, least element, minimal element, max element.