In mathematics, a **set** is a well-defined collection of distinct objects, considered as an object in its own right. The objects in a set are called the **elements** or **members** of the set. Sets can contain any type of objects, including numbers, symbols, other sets, or even more abstract entities. ### Notation: - A set is typically denoted using curly braces.

Articles by others on the same topic (1)

Set (mathematics) by Ciro Santilli 37 Updated +Created
Intuitively: unordered container where all the values are unique, just like C++ std::set.
More precisely for set theory formalization of mathematics:
  • everything is a set, including the elements of sets
  • string manipulation wise:
    • {} is an empty set. The natural number 0 is defined as {} as well.
    • {{}} is a set that contains an empty set
    • {{}, {{}}} is a set that contains two sets: {} and {{}}
    • {{}, {}} is not well formed, because it contains {} twice