spodi
spodi - (obsolete) compute the determinant and inverse of a symmetric positive definite
matrix A, which has been Cholesky-factored by SPOCO, SPOFA, or SQRDC.
SUBROUTINE SPODI( A, LDA, N, DET, JOB)
INTEGER LDA, N, JOB
REAL A(LDA,*), DET(*)
SUBROUTINE SPODI_64( A, LDA, N, DET, JOB)
INTEGER*8 LDA, N, JOB
REAL A(LDA,*), DET(*)
#include <sunperf.h>
void spodi(float *a, int lda, int n, float *det, int job);
void spodi_64(float *a, long lda, long n, float *det, long job);
-
* A (input/output)
-
On entry, the Cholesky factorization of the matrix A, as
computed by SPOCO, SPOFA, or SQRDC.
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.
-
* LDA (input)
-
Leading dimension of the array A as specified in a dimension
or type statement. LDA >= max(1,N).
-
* 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:
- 11 both determinant and inverse