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.
with a generalA * X = B or A**T * X = B
n-by-nmatrixAusing 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.inAArray of dimension (
lda,n). The factors L and U from the factorization A = P*L*U as computed by sgetrf.inldaThe leading dimension of the array
A.lda>=max(1,n).inipivArray of dimension
n. The pivot indices from sgetrf; row i was interchanged with rowipiv[i].inoutBArray of dimension (
ldb,nrhs). On entry, the right hand side matrixB. On exit, the solution matrix X.inldbThe leading dimension of the array
B.ldb>=max(1,n).outinfoinfo=0: successful exitinfo<0: ifinfo=-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.
with a generalA * X = B or A**T * X = B
n-by-nmatrixAusing 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.inAArray of dimension (
lda,n). The factors L and U from the factorization A = P*L*U as computed by dgetrf.inldaThe leading dimension of the array
A.lda>=max(1,n).inipivArray of dimension
n. The pivot indices from dgetrf; row i was interchanged with rowipiv[i].inoutBArray of dimension (
ldb,nrhs). On entry, the right hand side matrixB. On exit, the solution matrix X.inldbThe leading dimension of the array
B.ldb>=max(1,n).outinfoinfo=0: successful exitinfo<0: ifinfo=-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.
with a generalA * X = B, A**T * X = B, or A**H * X = B
n-by-nmatrixAusing 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.inAArray of dimension (
lda,n). The factors L and U from the factorization A = P*L*U as computed by cgetrf.inldaThe leading dimension of the array
A.lda>=max(1,n).inipivArray of dimension
n. The pivot indices from cgetrf; row i was interchanged with rowipiv[i].inoutBArray of dimension (
ldb,nrhs). On entry, the right hand side matrixB. On exit, the solution matrix X.inldbThe leading dimension of the array
B.ldb>=max(1,n).outinfoinfo=0: successful exitinfo<0: ifinfo=-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.
with a generalA * X = B, A**T * X = B, or A**H * X = B
n-by-nmatrixAusing 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.inAArray of dimension (
lda,n). The factors L and U from the factorization A = P*L*U as computed by zgetrf.inldaThe leading dimension of the array
A.lda>=max(1,n).inipivArray of dimension
n. The pivot indices from zgetrf; row i was interchanged with rowipiv[i].inoutBArray of dimension (
ldb,nrhs). On entry, the right hand side matrixB. On exit, the solution matrix X.inldbThe leading dimension of the array
B.ldb>=max(1,n).outinfoinfo=0: successful exitinfo<0: ifinfo=-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
);