Readme
libtpcmodel 2.0.6 (c) 2005-2012 by Turku PET Centre, University of Turku
Build Jan 31 2012 16:10:09
PET Modeling library
-------------------------------------------------------------------------------
Contents
------------------------------------------------------------------------
include/ - Includes all the header files for the .c files
Makefile - The makefile
.c files **
aic.c - Model selection and weighting using Akaike's information criteria.
bootstrap.c - Bootstrap algorithm for computing parameter confidence
limits and standard deviations.
constraints.c - Setting and checking fit parameter constraints.
expx2.c - Function for calculating exponential of squared argument.
gaussdev.c - Adds normally distributed Gaussian deviate with zero mean
and unit variance.
hholder.c - Householder transform.
integr.c - TAC interpolation and integration.
llsqwt.c - Methods for line fit with errors in both coordinates.
ldp.c - This file contains the routine ldp
(least distance programming), and uses lss_lib.c
and nnls.c
lms.c - Routines for calculating least median of
squares estimate for single data
lse.c - Algorithm LSE (least-squares with equality constrain).
lsi.c - This file contains the routine LSI (Least Squares
with inequality constrain) and some subroutines
required by it. Uses lss_lib.c, ldp.c lsi.c.
lss_lib.c - This file contains
1) routine h12, which constructs
and/or applies a single Householder transformation.
2) routine g1 which computes orthogonal rotation
matrix.
3) routine hfti which solves Ax = b.
lts.c - Least trimmed squares estimates for univariate location
and variance
mtga.c - Utilities for calculating multiple-time graphical
analysis, like Gjedde-Patlak and Logan plots.
median.c - Functions related to calculation of median value.
mestim.c - Functions related to calculation of M-estimator.
At the moment contains Huber's function, but other
M-estimators can be added.
nnls.c - Nonnegative linear least squares (Lawson-Hanson algorithm).
normaldistr.c - Functions for using the normal distribution.
pearson.c - Calculation of Pearson's correlation coefficient.
polevl.c - Functions for handling polynomials.
powell.c - Powell-Brent minimization routine.
qr.c - QR decomposition for overdetermined systems.
runs_test.c - Functions for similary of two curves with runs_test method.
simplex.c - Simplex (Nelder-Mead) minimization routine.
simulate.c - Simulation of compartmental model curves.
tgo.c - Topographical global optimization, based on algorithm by
Törn and Viitanen.libtpcmodel.c - Program for printing the Readme, History and build
information, and for testing the library functions.
libtpcmodelv.c - Information about this library.Using the library
-------------------------------------------------------------------------------
The program that uses the library should include the .h file it needs.
Example:
#include <aic.h>libtpcmodel depends on libtpcmisc.
Example:
gcc myprog.c -ltpcmodel -ltpcmisc -lm