Skip to content

Pairing functions between the natural numbers and rationals #152

@sr-murthy

Description

@sr-murthy

Pairing functions between naturals and (positive) rationals, e.g. Cantor: these are bijective, and are interesting in themselves, and can also be used for rational enumeration, e.g. sequences.rationals instead of the math.gcd(x, y) == 1 check, which is probably slower.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions