sgesl
sgesl - (obsolete) solve the linear system Ax = b for a general matrix A, which has been LU-
factored by SGECO or SGEFA, and vectors b and x.
SUBROUTINE SGESL( A, LDA, N, IPIVOT, B, JOB)
INTEGER LDA, N, JOB
INTEGER IPIVOT(*)
REAL A(LDA,*), B(*)
SUBROUTINE SGESL_64( A, LDA, N, IPIVOT, B, JOB)
INTEGER*8 LDA, N, JOB
INTEGER*8 IPIVOT(*)
REAL A(LDA,*), B(*)
#include <sunperf.h>
void sgesl(float *a, int lda, int n, int *ipivot, float *b, int job);
void sgesl_64(float *a, long lda, long n, long *ipivot, float *b, long job);
-
* A (input)
-
LU factorization of the matrix A, as computed by SGECO or SGEFA.
-
* 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 (input)
-
Pivot vector as computed by SGECO or SGEFA.
-
* B (input/output)
-
On entry, the right-hand side vector b.
On exit, the solution vector x.
-
* JOB (input)
-
Determines which operation the subroutine will perform:
- 0 Solve the system Ax = b.
not 0 Solve the linear system A^Tx = b.
for real matrices.