cgetrs - solve a system of linear equations A * X = B, A**T * X = B, or A**H * X = B with a general N-by-N matrix A using the LU factorization computed by CGETRF
SUBROUTINE CGETRS( TRANSA, N, NRHS, A, LDA, IPIVOT, B, LDB, INFO) CHARACTER * 1 TRANSA COMPLEX A(LDA,*), B(LDB,*) INTEGER N, NRHS, LDA, LDB, INFO INTEGER IPIVOT(*)
SUBROUTINE CGETRS_64( TRANSA, N, NRHS, A, LDA, IPIVOT, B, LDB, INFO) CHARACTER * 1 TRANSA COMPLEX A(LDA,*), B(LDB,*) INTEGER*8 N, NRHS, LDA, LDB, INFO INTEGER*8 IPIVOT(*)
SUBROUTINE GETRS( [TRANSA], [N], [NRHS], A, [LDA], IPIVOT, B, [LDB], * [INFO]) CHARACTER(LEN=1) :: TRANSA COMPLEX, DIMENSION(:,:) :: A, B INTEGER :: N, NRHS, LDA, LDB, INFO INTEGER, DIMENSION(:) :: IPIVOT
SUBROUTINE GETRS_64( [TRANSA], [N], [NRHS], A, [LDA], IPIVOT, B, * [LDB], [INFO]) CHARACTER(LEN=1) :: TRANSA COMPLEX, DIMENSION(:,:) :: A, B INTEGER(8) :: N, NRHS, LDA, LDB, INFO INTEGER(8), DIMENSION(:) :: IPIVOT
#include <sunperf.h>
void cgetrs(char transa, int n, int nrhs, complex *a, int lda, int *ipivot, complex *b, int ldb, int *info);
void cgetrs_64(char transa, long n, long nrhs, complex *a, long lda, long *ipivot, complex *b, long ldb, long *info);
cgetrs solves a system of linear equations A * X = B, A**T * X = B, or A**H * X = B with a general N-by-N matrix A using the LU factorization computed by CGETRF.
= 'N': A * X = B (No transpose)
= 'T': A**T * X = B (Transpose)
= 'C': A**H * X = B (Conjugate transpose)
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value