sppdi


NAME

sppdi - (obsolete) compute the determinant and inverse of a symmetric positive definite matrix A in packed storage, which has been Cholesky-factored by SPPCO or SPPFA.


SYNOPSIS

  SUBROUTINE SPPDI( A, N, DET, JOB)
  INTEGER N, JOB
  REAL A(*), DET(*)
 
  SUBROUTINE SPPDI_64( A, N, DET, JOB)
  INTEGER*8 N, JOB
  REAL A(*), DET(*)
 

C INTERFACE

#include <sunperf.h>

void sppdi(float *a, int n, float *det, int job);

void sppdi_64(float *a, long n, float *det, long job);


ARGUMENTS

* A (input/output)
On entry, the Cholesky factorization of the matrix A, as computed by SPPCO or SPPFA. On exit, the inverse of the original matrix A if the inverse was requested, otherwise A is unchanged. The strict lower triangle of A is not referenced.

* N (input)
Order of the original matrix A. N >= 0.

* DET (output)
On exit, the determinant of the matrix A. The determinant is stored as b * (10 ** expon) where b is stored in DET(1) and expon is stored in DET(2). 1.0 <= |DET(1)| <= 10.0 or DET(1) = 0.0.

* JOB (input)
Determines which operation the subroutine will perform: