r8lib


r8lib, a Python code which contains utilities for double precision real (R8) arithmetic.

Licensing:

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

Languages:

r8lib is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and an Octave version and a Python version and an R version.

Related Programs:

c4lib, a Python code which contains many utility routines, using "C4" or "single precision complex" arithmetic.

c8lib, a Python code which contains many utility routines, using "C8" or "double precision complex" arithmetic.

i4lib, a Python code which contains many utility routines, using "I4" or "single precision integer" arithmetic.

r8col, a Python code which contains utility routines for R8COL's, that is, double precision real MxN arrays, considered as N column vectors, each of length M. The data may be thought of as a matrix of multiple columns, and many operations will be carried out columnwise.

r8row, a Python code which contains utility routines for R8ROW's, that is, double precision real MxN arrays, considered as M row vectors, each of length N. The data may be thought of as a matrix of multiple rows, and many operations will be carried out rowwise.

uniform, a Python code which contains uniform random number generators (RNG's) for several arithmetic types.

References:

  1. Thomas Cormen, Charles Leiserson, Ronald Rivest,
    Introduction to Algorithms,
    MIT Press, 2001,
    ISBN: 0262032937,
    LC: QA76.C662.
  2. Albert Nijenhuis, Herbert Wilf,
    Combinatorial Algorithms for Computers and Calculators,
    Second Edition,
    Academic Press, 1978,
    ISBN: 0-12-519260-6,
    LC: QA164.N54.

Source Code:


Last revised on 06 May 2021.