Skip to content

wdalmut/ex-bijective

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bijective

In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between the elements of two sets, where each element of one set is paired with exactly one element of the other set, and each element of the other set is paired with exactly one element of the first set.

iex> Bijective.encode(19587376)
"bulJA"
iex> Bijective.decode("bulJA")
19587376

Installation

You can install by adding bijective to your list of dependencies in mix.exs:

def deps do
  [
    {:bijective, "~> 0.0.2"}
  ]
end

Documentation can be found at: https://hexdocs.pm/bijective.

About

Bijective function in Elixir

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages