C4LIB is a Python library which implements certain elementary functions for "C4" or single precision complex variables.
The symbol "C4" is used to suggest a single precision complex variable. Here the 4 indicates that the underlying pair of real numbers each use 4 bytes of storage.
C4LIB contains routines that operate on scalars, vectors or doubly dimensioned arrays of C4's. A vector of C4's is denoted a C4VEC, and a doubly dimensioned array is a C4MAT.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
C4LIB is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.
C8LIB, a Python library which contains many utility routines, using "C8" or "double precision complex" arithmetic.
COMPLEX_NUMBERS, a Python program which demonstrates some simple features involved in the use of complex numbers in FORTRAN90 programming.
I4LIB, a Python library which contains many utility routines, using "I4" or "single precision integer" arithmetic.
R4LIB, a Python library which contains many utility routines using single precision real (R4) arithmetic.
R8LIB, a Python library which contains many utility routines, using "R8" or "double precision real" arithmetic.
UNIFORM, a Python library which contains uniform random number generators (RNG's) for several arithmetic types.
You can go up one level to the Python source codes.