Skip to content

BijectiveRadix ​

The old spelling of BijectiveNumerals, kept working: BijectiveRadix(k) evaluates to its canonical form.

BijectiveRadix(k)same as BijectiveNumerals(k)
Typed signatures
TypePackageApplies
(integer) -> valuenumeralsalways

Domain: Numeral systems

Examples

Basic #

Evaluates to BijectiveNumerals

live ↗
InBijectiveRadix(2)\mathrm{BijectiveRadix}(2)OutBijectiveNumerals(2)\mathrm{BijectiveNumerals}(2)

10=1⋅4+2⋅2+2⋅110 = 1\cdot 4 + 2\cdot 2 + 2\cdot 1

live ↗
InIntegerDigits(10,BijectiveRadix(2))\mathrm{IntegerDigits}(10, \mathrm{BijectiveRadix}(2))Out[1,2,2]\bigl\lbrack1, 2, 2\bigr\rbrack
About
Examples2

See also: BijectiveNumerals