cgbdi


NAME

cgbdi - (obsolete) compute the determinant of a general matrix A in banded storage, which has been LU-factored by CGBCO or CGBFA.


SYNOPSIS

  SUBROUTINE CGBDI( A, LDA, N, NSUB, NSUPER, IPIVOT, DET)
  COMPLEX A(LDA,*), DET(*)
  INTEGER LDA, N, NSUB, NSUPER
  INTEGER IPIVOT(*)
 
  SUBROUTINE CGBDI_64( A, LDA, N, NSUB, NSUPER, IPIVOT, DET)
  COMPLEX A(LDA,*), DET(*)
  INTEGER*8 LDA, N, NSUB, NSUPER
  INTEGER*8 IPIVOT(*)
 

C INTERFACE

#include <sunperf.h>

void cgbdi(complex *a, int lda, int n, int nsub, int nsuper, int *ipivot, complex *det);

void cgbdi_64(complex *a, long lda, long n, long nsub, long nsuper, long *ipivot, complex *det);


ARGUMENTS

* A (input)
LU factorization of the matrix A, as computed by CGBCO or CGBFA.

* 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 CGBCO or CGBFA.

* 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.