Skip to content

IAmSegfault/pyn3n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyn3n

A python port of N3N. An injective mapping of integer vectors to integers in python. Useful for spatial hashing.

Maximum values are (-17,-17,-17) to (18,18,18) for 3 dimensional mappings and (-27, -27) to (28, 28) for 2 dimensional mappings. The maximum absolute value of the magic number is 68719476735.

About

A python port of N3N

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages