cgefa


NAME

cgefa - (obsolete) compute the LU factorization of a general matrix A. It is typical to follow a call to CGEFA with a call to CGESL to solve Ax = b or to CGEDI to compute the determinant of A.


SYNOPSIS

  SUBROUTINE CGEFA( A, LDA, N, IPIVOT, INFO)
  COMPLEX A(LDA,*)
  INTEGER LDA, N, INFO
  INTEGER IPIVOT(*)
 
  SUBROUTINE CGEFA_64( A, LDA, N, IPIVOT, INFO)
  COMPLEX A(LDA,*)
  INTEGER*8 LDA, N, INFO
  INTEGER*8 IPIVOT(*)
 

C INTERFACE

#include <sunperf.h>

void cgefa(complex *a, int lda, int n, int *ipivot, int *info);

void cgefa_64(complex *a, long lda, long n, long *ipivot, long *info);


ARGUMENTS

* A (input/output)
On entry, the matrix A. On exit, an LU factorization of A.

* 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 matrix A. N >= 0.

* IPIVOT (output)
On exit, a vector of pivot indices.

* INFO (output)
On exit:

INFO = 0 Subroutine completed normally.

INFO > 0 Returns a value k if U(k,k) = 0 to indicate that CGESL will divide by zero if called.