getrs#
Functions
-
void sgetrs(const char *trans, const INT n, const INT nrhs, const f32 *restrict A, const INT lda, const INT *restrict ipiv, f32 *restrict B, const INT ldb, INT *info)#
SGETRS solves a system of linear equations A * X = B or A**T * X = B with a general N-by-N matrix A using the LU factorization computed by SGETRF.
Parameters
intransSpecifies the form of the system of equations:
’N’: A * X = B (No transpose)
’T’: A**T * X = B (Transpose)
’C’: A**T * X = B (Conjugate transpose = Transpose)
innThe order of the matrix A (n >= 0).
innrhsThe number of right hand sides, i.e., the number of columns of the matrix B (nrhs >= 0).
inAThe factors L and U from the factorization A = P*L*U as computed by sgetrf. Array of dimension (lda, n).
inldaThe leading dimension of the array A (lda >= max(1,n)).
inipivThe pivot indices from sgetrf; row i was interchanged with row ipiv[i]. Array of dimension n, 0-based.
inoutBOn entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).
inldbThe leading dimension of the array B (ldb >= max(1,n)).
outinfoExit status:
= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void sgetrs(
const char* trans,
const INT n,
const INT nrhs,
const f32* restrict A,
const INT lda,
const INT* restrict ipiv,
f32* restrict B,
const INT ldb,
INT* info
);
Functions
-
void dgetrs(const char *trans, const INT n, const INT nrhs, const f64 *restrict A, const INT lda, const INT *restrict ipiv, f64 *restrict B, const INT ldb, INT *info)#
DGETRS solves a system of linear equations A * X = B or A**T * X = B with a general N-by-N matrix A using the LU factorization computed by DGETRF.
Parameters
intransSpecifies the form of the system of equations:
’N’: A * X = B (No transpose)
’T’: A**T * X = B (Transpose)
’C’: A**T * X = B (Conjugate transpose = Transpose)
innThe order of the matrix A (n >= 0).
innrhsThe number of right hand sides, i.e., the number of columns of the matrix B (nrhs >= 0).
inAThe factors L and U from the factorization A = P*L*U as computed by dgetrf. Array of dimension (lda, n).
inldaThe leading dimension of the array A (lda >= max(1,n)).
inipivThe pivot indices from dgetrf; row i was interchanged with row ipiv[i]. Array of dimension n, 0-based.
inoutBOn entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).
inldbThe leading dimension of the array B (ldb >= max(1,n)).
outinfoExit status:
= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void dgetrs(
const char* trans,
const INT n,
const INT nrhs,
const f64* restrict A,
const INT lda,
const INT* restrict ipiv,
f64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void cgetrs(const char *trans, const INT n, const INT nrhs, const c64 *restrict A, const INT lda, const INT *restrict ipiv, c64 *restrict B, const INT ldb, INT *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.
Parameters
intransSpecifies the form of the system of equations:
’N’: A * X = B (No transpose)
’T’: A**T * X = B (Transpose)
’C’: A**H * X = B (Conjugate transpose)
innThe order of the matrix A (n >= 0).
innrhsThe number of right hand sides, i.e., the number of columns of the matrix B (nrhs >= 0).
inAThe factors L and U from the factorization A = P*L*U as computed by cgetrf. Array of dimension (lda, n).
inldaThe leading dimension of the array A (lda >= max(1,n)).
inipivThe pivot indices from cgetrf; row i was interchanged with row ipiv[i]. Array of dimension n, 0-based.
inoutBOn entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).
inldbThe leading dimension of the array B (ldb >= max(1,n)).
outinfoExit status:
= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void cgetrs(
const char* trans,
const INT n,
const INT nrhs,
const c64* restrict A,
const INT lda,
const INT* restrict ipiv,
c64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void zgetrs(const char *trans, const INT n, const INT nrhs, const c128 *restrict A, const INT lda, const INT *restrict ipiv, c128 *restrict B, const INT ldb, INT *info)#
ZGETRS 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 ZGETRF.
Parameters
intransSpecifies the form of the system of equations:
’N’: A * X = B (No transpose)
’T’: A**T * X = B (Transpose)
’C’: A**H * X = B (Conjugate transpose)
innThe order of the matrix A (n >= 0).
innrhsThe number of right hand sides, i.e., the number of columns of the matrix B (nrhs >= 0).
inAThe factors L and U from the factorization A = P*L*U as computed by zgetrf. Array of dimension (lda, n).
inldaThe leading dimension of the array A (lda >= max(1,n)).
inipivThe pivot indices from zgetrf; row i was interchanged with row ipiv[i]. Array of dimension n, 0-based.
inoutBOn entry, the right hand side matrix B. On exit, the solution matrix X. Array of dimension (ldb, nrhs).
inldbThe leading dimension of the array B (ldb >= max(1,n)).
outinfoExit status:
= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void zgetrs(
const char* trans,
const INT n,
const INT nrhs,
const c128* restrict A,
const INT lda,
const INT* restrict ipiv,
c128* restrict B,
const INT ldb,
INT* info
);