2017 © Pedro Peláez
 

library biject

Bijection class

image

alexkr/biject

Bijection class

  • Tuesday, July 7, 2015
  • by AlexKR
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Biject

Simple implementation one-to-one correspondence function on PHP., (*1)

Build status: Build Status, (*2)

Code Example

Encoding:, (*3)

$bijection = new AlexKR\Biject\Bijection();
$result = $bijection->encode(42); //q

Decoding:, (*4)

$bijection = new AlexKR\Biject\Bijection();
$result = $bijection->decode('iq'); //512

Change alphabet:, (*5)

$bijection = new AlexKR\Biject\Bijection('0123456789');
$result = $bijection->encode(17); //17

Installation

Install via Composer:, (*6)

composer require alexkr/Biject

License

Biject is licensed under the MIT License, (*7)

The Versions

07/07 2015

dev-master

9999999-dev

Bijection class

  Sources   Download

MIT

The Development Requires

by Alexandr Perekopskiy

bijection

07/07 2015

1.0

1.0.0.0

Bijection class

  Sources   Download

MIT

The Development Requires

by Alexandr Perekopskiy

bijection