sgbdi
sgbdi - (obsolete) compute the determinant of a general matrix A in banded storage, which
has been LU-factored by SGBCO or SGBFA.
SUBROUTINE SGBDI( A, LDA, N, NSUB, NSUPER, IPIVOT, DET)
INTEGER LDA, N, NSUB, NSUPER
INTEGER IPIVOT(*)
REAL A(LDA,*), DET(*)
SUBROUTINE SGBDI_64( A, LDA, N, NSUB, NSUPER, IPIVOT, DET)
INTEGER*8 LDA, N, NSUB, NSUPER
INTEGER*8 IPIVOT(*)
REAL A(LDA,*), DET(*)
#include <sunperf.h>
void sgbdi(float *a, int lda, int n, int nsub, int nsuper, int *ipivot, float *det);
void sgbdi_64(float *a, long lda, long n, long nsub, long nsuper, long *ipivot, float *det);
-
* A (input)
-
LU factorization of the matrix A, as computed by SGBCO or SGBFA.
-
* LDA (input)
-
Leading dimension of the array A as specified in a dimension or type statement.
LDA >= 2 * NSUB + NSUPER + 1.
-
* N (input)
-
Order of the original matrix A. N >= 0.
-
* NSUB (input)
-
Number of subdiagonals of A. N-1 >= NSUB >= 0 but if N = 0 then
NSUB = 0.
-
* NSUPER (input)
-
Number of superdiagonals of A. N-1 >= NSUPER >= 0 but if N = 0
then NSUPER = 0.
-
* IPIVOT (input)
-
Pivot vector as computed by SGBCO or SGBFA.
-
* 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.