dgefa


NAME

dgefa - (obsolete) compute the LU factorization of a general matrix A. It is typical to follow a call to SGEFA with a call to SGESL to solve Ax = b or to SGEDI to compute the determinant of A.


SYNOPSIS

  SUBROUTINE DGEFA( A, LDA, N, IPIVOT, INFO)
  INTEGER LDA, N, INFO
  INTEGER IPIVOT(*)
  DOUBLE PRECISION A(LDA,*)
 
  SUBROUTINE DGEFA_64( A, LDA, N, IPIVOT, INFO)
  INTEGER*8 LDA, N, INFO
  INTEGER*8 IPIVOT(*)
  DOUBLE PRECISION A(LDA,*)
 

C INTERFACE

#include <sunperf.h>

void dgefa(double *a, int lda, int n, int *ipivot, int *info);

void dgefa_64(double *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 SGESL will divide by zero if called.