Skip to content

Tuples, vectors and sets #28

@gmagerma

Description

@gmagerma

Probably semantics, but:
https://en.wikipedia.org/wiki/Tuple
https://en.wikipedia.org/wiki/Set_(mathematics)

Obviously the set of positive integers is N = {1,2,...}. There are no recurring elements.
But say that we flip 10 coins 1 time, then one event/outcome is A ={H,H,H,T,T,H,T,T,H,H}
This is then not a set but a tuple?
And what if we flip a coin as many times as needed to get a heads? Then the tuple is possibly of size n -> \infty?

Potato potato?
Or is there a difference between math and programming languages applications?

Bonus: symmetric difference is an extension of a set complement: https://en.wikipedia.org/wiki/Symmetric_difference

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions