mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
[set-theory/en] add author, fix vowerls list
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
This commit is contained in:
parent
2ef49e504b
commit
c6d650df76
@ -2,7 +2,9 @@
|
||||
category: Algorithms & Data Structures
|
||||
name: Set theory
|
||||
contributors:
|
||||
- ["Andrew Ryan Davis", "https://github.com/AndrewDavis1191"]
|
||||
---
|
||||
|
||||
Set theory is a branch of mathematics that studies sets, their operations, and their properties.
|
||||
|
||||
* A set is a collection of disjoint items.
|
||||
@ -59,7 +61,7 @@ Long lists may be shortened with ellipses as long as the context is clear. For e
|
||||
Set builder notation is a more descriptive way of constructing a set. It relies on a _subject_ and a _predicate_ such that `S = { subject : predicate }`. For example,
|
||||
|
||||
```
|
||||
A = { x : x is a vowel } = { a, e, i, o, u, y}
|
||||
A = { x : x is a vowel } = { a, e, i, o, u }
|
||||
B = { x : x ∈ N, x < 10 } = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }
|
||||
C = { x : x = 2k, k ∈ N } = { 0, 2, 4, 6, 8, ... }
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user