ubvec


ubvec, an Octave code which demonstrates how nonnegative integers, subsets and other mathematical objects can be represented by unsigned binary vectors (UBVEC), strings of 0 and 1, for which various arithmetic, logical, and set-theoretic operations can be defined.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

ubvec is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

ubvec_test

bvec, an Octave code which demonstrates how signed integers can be stored as binary vectors, and arithmetic can be performed on them.

subset, an Octave code which enumerates, generates, randomizes, ranks and unranks combinatorial objects including combinations, compositions, Gray codes, index sets, partitions, permutations, polynomials, subsets, and Young tables. Backtracking routines are included to solve some combinatorial problems.

Source Code:


Last revised on 10 February 2019.