strdi


NAME

strdi - (obsolete) compute the determinant and inverse of a triangular matrix A.


SYNOPSIS

  SUBROUTINE STRDI( A, LDA, N, DET, JOB, INFO)
  INTEGER LDA, N, JOB, INFO
  REAL A(LDA,*), DET(*)
 
  SUBROUTINE STRDI_64( A, LDA, N, DET, JOB, INFO)
  INTEGER*8 LDA, N, JOB, INFO
  REAL A(LDA,*), DET(*)
 

C INTERFACE

#include <sunperf.h>

void strdi(float *a, int lda, int n, float *det, int job, int *info);

void strdi_64(float *a, long lda, long n, float *det, long job, long *info);


ARGUMENTS

* A (input/output)
On entry, the matrix A. On exit, the inverse of the original matrix A if the inverse was requested, otherwise unchanged.

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

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

* JOB (input)
Determines which operation the subroutine will perform:

* INFO (output)
On exit:

INFO = 0 Subroutine completed normally.

INFO > 0 Contains the index of a zero element of A if the inverse is requested and A is singular.