Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Set/Mathematica/set.math
Normal file
8
Task/Set/Mathematica/set.math
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
set1 = {"a", "b", "c", "d", "e"}; set2 = {"a", "b", "c", "d", "e", "f", "g"};
|
||||
MemberQ[set1, "a"]
|
||||
Union[set1 , set2]
|
||||
Intersection[set1 , set2]
|
||||
Complement[set2, set1](*Set Difference*)
|
||||
MemberQ[Subsets[set2], set1](*Subset*)
|
||||
set1 == set2(*Equality*)
|
||||
set1 == set1(*Equality*)
|
||||
Loading…
Add table
Add a link
Reference in a new issue