@stdlib/utils-object-inverse
Invert an object, such that keys become values and values become keys.
Found 11 results for bijection
Invert an object, such that keys become values and values become keys.
A bidirectional map based on the ES6 Map & WeakMap objects
A bidirectional map based on the ES6 Map & WeakMap objects
Node.js utility for mapping the properties of two Objects between each other
Invert an object, such that keys become values and values become keys, according to a transform function.
A bidirectional Map/WeakMap implementation with the same API as an ES6 Map/WeakMap!
KombiN is a library for bijectively mapping all ordered pairs from two finite sets into a single linear index. It orders pairs by ascending weight (sum of indices) using a three-region zig-zag algorithm, enabling O(1) bidirectional lookups between pairs a
A crude implementation of a feistel cipher
collection of mathematical analysis and simulation tools
Inverts an object, such that keys are values and values are keys.
Calkin-Wilf bijection between integers and rational numbers.