A Utility Library for Logical Variables

**L4LIB**
is a MATLAB library which
contains many utility routines for L4 or one byte logical
arithmetic.

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

**L4LIB** is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version and
a Python version.

C4LIB, a MATLAB library which implements certain elementary functions for single precision complex (C4) variables.

C8LIB, a MATLAB library which implements certain elementary functions for "C8" or double precision complex variables;

I4LIB, a MATLAB library which contains many utility routines, using "I4" or "4 byte integer" arithmetic.

R8LIB, a MATLAB library which contains many utility routines, using "R8" or "double precision real" arithmetic.

- i4_to_l4.m, converts an I4 to an L4;
- i4_to_l4_test.m
- i4_to_l4vec.m, converts an I4 to an L4VEC;
- i4_to_l4vec_test.m
- l4_to_i4.m, converts an L4 to an I4;
- l4_to_i4_test.m
- l4_to_s.m, converts an L4 to an S ('True' or 'False');
- l4_to_s_test.m
- l4_uniform.m, returns a scaled random L4.
- l4_uniform_test.m
- l4_xor.m, computes the exclusive OR of two L4's.
- l4_xor_test.m
- l4mat_print.m, prints an L4MAT;
- l4mat_print_test.m
- l4mat_print_some.m, prints some of an L4MAT;
- l4mat_print_some_test.m
- l4mat_transpose_print.m, prints an L4MAT, transposed;
- l4mat_transpose_print_test.m
- l4mat_transpose_print_some.m, prints some of an L4MAT, transposed;
- l4mat_transpose_print_some_test.m
- l4mat_uniform.m, returns a random L4MAT.
- l4mat_uniform_test.m
- l4vec_next.m, returns the next L4VEC.
- l4vec_next_test.m
- l4vec_print.m, prints a LVEC;
- l4vec_print_test.m
- l4vec_uniform.m, returns a random L4VEC.
- l4vec_uniform_test.m
- s_to_l4.m converts a string to an L4;
- s_to_l4_test.m
- timestamp.m, prints the current YMDHMS date as a timestamp;

- l4lib_test.m, runs all the tests;
- l4lib_test_output.txt, the output file;

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