Libraries
This page contains code for utility libraries that are used in the
Bayesian Communication software. Below are the languages for which files
are available.
Fortran
This site contains library routines used in the Bayesian Analysis,
Computaion and Communication software. The library routines may be used in
one of two ways.
If you have access to IMSL, the routines in jglib may be used directly.
There is no need to access any of the other libraries.
If you do not have access to IMSL, or if you wish to write code that is
independent of IMSL, the three other libraries are useful. imsllib
contains dummy routines with the same calling sequence as IMSL routines.
These routines utilize LAPACK fortran code, which is public domain.
Instructions for obtaining LAPACK are in LAPACK. Since LAPACK does not
fully duplicate IMSL, other supplementary fortran routines are required;
these may be found in Otherlib.
Index
imsllib
This library contains all of the files needed to replace the IMSL
subroutines in jglib. The routines in this directory have the same calling
structure as the corresponding IMSL routines. The routines use routines
from LAPACK, otherlib, ranlib and cdflib. If you do not wish to download
the routines individually then all of the routines are contained in the
single file imsllib.f
RETURN TO FORTRAN INDEX
jglib
This library contains the source code for all of the routines written by John Geweke and called by the programs in /models. For those who do not wish to download the files individually, all of the files are included in the file jglib.f .
The routines in this library call routines from IMSL. If you do not have IMSL then conversion routines are available in the library /imsllib. To use the routines in imsllib you will need to download the files in Otherlib and LAPACK as well. More informati
on is provided in those libraries. A manual containing a summary of
the subroutines and functions contained in JGLIB is found in the file
jgmanual.pdf.
Manual
jgmanual.pdf
Index
RETURN TO FORTRAN INDEX
LAPACK
This page does not contain the source code for LAPACK. LAPACK can
be downloaded from the following WWW sites:
You need the double precision LAPACK routines. A set of BLAS routines also
comes with LAPACK. There are a number of routines in the set of BLAS
routines found in IMSL that are not found in the set of BLAS routines
obtained via LAPACK. The missing routines can be found either in jglib or
Otherlib. They should be deleted if you already have them.
RETURN TO FORTRAN INDEX
Otherlib
This library contains routines that are called by routines in imsllib. In
particular this library contains ranlib.f and cdflib.f. These two files
contain the random number library and the cdf function library. The rest
of the files are the routines that could not be found in LAPACK. The file
Otherlib.f contains all of the source code from this library except for
ranlib.f and cdflib.f.
Note: Users should download at least three files from this
library.
- Otherlib.f
- ranlib.f
- cdflib.f
RETURN TO FORTRAN INDEX
C
C version of Bayesian Analysis, Computation and Communication software
uses CLAPACK, dcdflib.c and ranlib.c library routines. They can be downloaded
from the following web sites:
CLAPACK:
http://www.netlib.org/clapack
dcdflib.c :
ftp://odin.mda.uth.tmc.edu/pub/source/dcdflib.c-1.0.tar.Z
ranlib.c :
http://lib.stat.cmu.edu/general/Utexas/ranlibc.uuen