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
inuplo'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.inAArray of dimension (
lda,n). The triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed byspotrf.inldaThe leading dimension of the array
A.lda>=max(1,n).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=-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
inuplo'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.inAArray of dimension (
lda,n). The triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed bydpotrf.inldaThe leading dimension of the array
A.lda>=max(1,n).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=-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
inuplo'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.inAArray of dimension (
lda,n). The triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, as computed bycpotrf.inldaThe leading dimension of the array
A.lda>=max(1,n).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=-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
inuplo'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.inAArray of dimension (
lda,n). The triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, as computed byzpotrf.inldaThe leading dimension of the array
A.lda>=max(1,n).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=-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
);