BVEC
Binary Vector Representation of Signed Integers


BVEC is a MATLAB library which demonstrates how signed integers can be stored as binary vectors, and arithmetic can be performed on them.

Licensing:

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

Languages:

BVEC is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

L4LIB, a MATLAB library which contains many utility routines, using one byte logical (L4) variables.

SUBSET, a MATLAB library 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.

UBVEC, a MATLAB library which demonstrates how unsigned binary vectors, strings of 0's and 1's, can represent nonnegative integers or subsets or other mathematical objects, for which various arithmetic and logical operations can be defined.

Source Code:

Examples and Tests:

You can go up one level to the MATLAB source codes.


Last revised on 31 December 2014.