chpfa


NAME

chpfa - (obsolete) compute the UDU factorization of a Hermitian matrix A in packed storage. It is typical to follow a call to CHPFA with a call to CHPSL to solve Ax = b or to CHPDI to compute the determinant, inverse, and inertia of A.


SYNOPSIS

  SUBROUTINE CHPFA( A, N, IPIVOT, INFO)
  COMPLEX A(*)
  INTEGER N, INFO
  INTEGER IPIVOT(*)
 
  SUBROUTINE CHPFA_64( A, N, IPIVOT, INFO)
  COMPLEX A(*)
  INTEGER*8 N, INFO
  INTEGER*8 IPIVOT(*)
 

C INTERFACE

#include <sunperf.h>

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

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


ARGUMENTS

* A (input/output)
On entry, the upper triangle of the matrix A. On exit, a UDU factorization of the matrix A.

* 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 the kth pivot block is singular to indicate that CHPSL or CHPDI will divide by zero if called.