Skip to content

ProFatXuanAll/bijection-from-N-to-Q

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bijection-from-N-to-Q

Using python to define a bijection from N to Q.

Installation

pipenv install

Execution

# Launch virtual environment.
pipenv shell

# Get n-th rational number from bijection.
python main.py --n 100

# Get rational numbers from bijection in range 0 to n.
python main.py --n 100 --all

Test

pipenv install --dev
pipenv run test
pipenv run test-coverage

About

Using python to define a bijection from N to Q.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages