Selected FORTRAN code

This page gathers some small programs or routines, with limited documentation.

B-splines

Simple program to generate B-splines functions for given range or given values of covariable, with choice of equi-distant splines or user-defined knots.

Bsplines.f90 (Click to see code)

Program for downloading: bsplines.zip

Generalised inverse of symmetric matrix

Fortran 90 rewrite of subroutine DKMWHF (derived from Henderson's DJNVHF) to obtain a generalised inverse of a real, symmetric matrix.

dkmxhf.f90

Simple front-end program to DKMXHF which reads in the matrix from a file & writes out the inverse to another file (DKMXHF not included).

ginverse.f90

Complete program for downloading (ginverse.f90 with dkmxhf.f90) ginverse.zip

Hash tables

Hash tables provide an effective way to determine the number of levels for an effect and recode it in running order when no numerical ordering of the original codes is required.


Personal Tools