The R Project SVN R

Rev

Rev 22152 | Rev 22555 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

The Fortran routines here are extracted from LAPACK 3.0
(http://www.netlib.org/lapack and mirrors).

double.f are support routines for `real' LAPACK calls
cmplx.f are support routines for LAPACK calls from complex arithmetic
routines, that are only used if COMPLEX*16 is supported by the Fortran
compiler and compatible with the Rcomplex type (guaranteed for f2c users).
Neither will not be compiled if an external LAPACK is used.

cmplxblas.f contains BLAS routines needed by cmplx.f: it is not used
if a full BLAS implementation is found at configure time.

rgeev.f is a corrected (lines 180-1) version of dgeev.f, to allow
LWORK queries to run.  (Late versions of dgeev.f are corrected.)  It
calls dlange, which is missing in libsunperf, so a copy of that is
included.

The routines dsyev and dsyevr have their names remapped to r* unless
HAVE_LAPACK is defined.  This ensures that the versions in double.f
are called even if an external BLAS library contains LAPACK.  This was
necessary on 64-bit Solaris where the routines in libsunperf were
picked up and used excessive amounts of memory.  In principle it might
be necessary to extend this remapping to the other symbols used from
LAPACK.