       MATLAB INTERFACE TO GUPTRI ROUTINE


OVERVIEW

This package contains routines to make the GUPTRI 
routine accessible by Matlab. They are:
   guptri.m
   guptribase.f
   mguptri.f
   mguptrig.f

COMPILATION

To compile and use these files you must have a Fortran 
compiler that supports the %val construct. Most of them
do but not all of them. If you dont have such a compiler,
the mguptrig.f file must be rewritten [1].

If you are using a Fortran 77 compiler do the following 
in Matlab:
  >> !f77 -c mguptri.f guptribase.f zguptri.f
  >> mex mguptri.o mguptrig.f guptribase.o zguptri.o

If you are not using a local Fortran compiler, let 
Matlab's mex function do all the work:
  >> mex mguptri.f mguptrig.f guptribase.f zguptri.f

This should result in a file called mguptri.xxx, where
xxx can be, e.g., 
  mexsol  (Solaris),
  mexrs6  (IBM RS/6000),
  mexsg   (SGI),
  dll     (Windows),
  mex     (Macintosh).
  
This file is now used by guptri.m. To use this function
type
  >> help guptri
in Matlab.

REFERENCES

[1] Application Program Interface Guide, Version 5. 
    The MathWorks, Inc., 1996.

