potrs#
Functions
-
void spotrs(const char *uplo, const INT n, const INT nrhs, const f32 *restrict A, const INT lda, f32 *restrict B, const INT ldb, INT *info)#
SPOTRS solves a system of linear equations A*X = B with a symmetric positive definite matrix A using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPOTRF.
Parameters
inuploSpecifies whether the factor stored in A is upper or lower triangular. = ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inAThe triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed by spotrf. Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(1, n).
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).
outinfo= 0: successful exit
< 0: if info = -k, the k-th argument had an illegal value
void spotrs(
const char* uplo,
const INT n,
const INT nrhs,
const f32* restrict A,
const INT lda,
f32* restrict B,
const INT ldb,
INT* info
);
Functions
-
void dpotrs(const char *uplo, const INT n, const INT nrhs, const f64 *restrict A, const INT lda, f64 *restrict B, const INT ldb, INT *info)#
DPOTRS solves a system of linear equations A*X = B with a symmetric positive definite matrix A using the Cholesky factorization A = U**T*U or A = L*L**T computed by DPOTRF.
Parameters
inuploSpecifies whether the factor stored in A is upper or lower triangular. = ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inAThe triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed by dpotrf. Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(1, n).
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).
outinfo= 0: successful exit
< 0: if info = -k, the k-th argument had an illegal value
void dpotrs(
const char* uplo,
const INT n,
const INT nrhs,
const f64* restrict A,
const INT lda,
f64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void cpotrs(const char *uplo, const INT n, const INT nrhs, const c64 *restrict A, const INT lda, c64 *restrict B, const INT ldb, INT *info)#
CPOTRS solves a system of linear equations A*X = B with a Hermitian positive definite matrix A using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPOTRF.
Parameters
inuploSpecifies whether the factor stored in A is upper or lower triangular. = ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inAThe triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, as computed by cpotrf. Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(1, n).
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).
outinfo= 0: successful exit
< 0: if info = -k, the k-th argument had an illegal value
void cpotrs(
const char* uplo,
const INT n,
const INT nrhs,
const c64* restrict A,
const INT lda,
c64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void zpotrs(const char *uplo, const INT n, const INT nrhs, const c128 *restrict A, const INT lda, c128 *restrict B, const INT ldb, INT *info)#
ZPOTRS solves a system of linear equations A*X = B with a Hermitian positive definite matrix A using the Cholesky factorization A = U**H*U or A = L*L**H computed by ZPOTRF.
Parameters
inuploSpecifies whether the factor stored in A is upper or lower triangular. = ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inAThe triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, as computed by zpotrf. Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(1, n).
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).
outinfo= 0: successful exit
< 0: if info = -k, the k-th argument had an illegal value
void zpotrs(
const char* uplo,
const INT n,
const INT nrhs,
const c128* restrict A,
const INT lda,
c128* restrict B,
const INT ldb,
INT* info
);