C4LIB
A Single Precision Complex Arithmetic Utility Library


C4LIB is a FORTRAN90 library which implements certain elementary functions for single precision complex (C4) 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.

Licensing:

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

Languages:

C4LIB 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:

BLAS1_C, a FORTRAN90 library which contains basic linear algebra routines for vector-vector operations, using single precision complex arithmetic.

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

COMPLEX_NUMBERS, a FORTRAN90 program which demonstrates some simple features involved in the use of complex numbers in FORTRAN90 programming.

I4LIB, a FORTRAN90 library which contains many utility routines, using "I4" or "single precision integer" arithmetic.

I8LIB, a FORTRAN90 library which contains many utility routines, using "I8" or "double precision integer" arithmetic.

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

LINPACK_C, a FORTRAN90 library which solves linear systems using single precision complex arithmetic;

R4LIB, a FORTRAN90 library which contains many utility routines, using "R4" or "single precision real" arithmetic.

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

Source Code:

Examples and Tests:

List of Routines:

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


Last revised on 17 February 2014.