L4LIB
A Utility Library for Logical Variables
L4LIB
is a Python library which
contains many utility routines for "L4" or "one byte logical"
arithmetic.
Licensing:
The computer code and data files made available on this web page
are distributed under
the GNU LGPL license.
Languages:
L4LIB is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version and
a Python version.
Related Programs:
C4LIB,
a Python library which
implements certain elementary functions for
single precision complex (C4) variables.
C8LIB,
a Python library which
implements certain elementary functions for "C8"
or double precision complex variables;
I4LIB,
a Python library which
contains many utility routines, using "I4" or
"4 byte integer" arithmetic.
R8LIB,
a Python library which
contains many utility routines, using "R8" or
"double precision real" arithmetic.
Source Code:
-
i4_to_l4.py,
converts an I4 to an L4;
-
i4_to_l4vec.py,
converts an I4 to an L4VEC;
-
l4_to_i4.py,
converts an L4 to an I4;
-
l4_to_s.py,
converts an L4 to a string;
-
l4_uniform.py,
returns a scaled random L4.
-
l4_xor.py,
computes the exclusive OR of two L4's.
-
l4mat_print.py,
prints an L4MAT;
-
l4mat_print_some.py,
prints some of an L4MAT;
-
l4mat_transpose_print.py,
prints an L4MAT, transposed;
-
l4mat_transpose_print_some.py,
prints some of an L4MAT, transposed;
-
l4mat_uniform.py,
returns a random L4MAT.
-
l4vec_next.py,
returns the next L4VEC.
-
l4vec_print.py,
prints a LVEC;
-
l4vec_uniform.py,
returns a random L4VEC.
-
s_to_l4.py
converts a string to an L4;
-
timestamp.py,
prints the current YMDHMS date as a timestamp;
Examples and Tests:
You can go up one level to
the Python source codes.
Last revised on 21 November 2015.