pftrs#
Functions
-
void spftrs(const char *transr, const char *uplo, const INT n, const INT nrhs, const f32 *restrict A, f32 *restrict B, const INT ldb, INT *info)#
SPFTRS 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 SPFTRF.
Parameters
intransr= ‘N’: The Normal TRANSR of RFP A is stored; = ‘T’: The Transpose TRANSR of RFP A is stored.
inuplo= ‘U’: Upper triangle of RFP A is stored; = ‘L’: Lower triangle of RFP A is stored.
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inADouble precision array, dimension (n*(n+1)/2). The triangular factor U or L from the Cholesky factorization.
inoutBDouble precision array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.
inldbThe leading dimension of B. ldb >= max(1, n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void spftrs(
const char* transr,
const char* uplo,
const INT n,
const INT nrhs,
const f32* restrict A,
f32* restrict B,
const INT ldb,
INT* info
);
Functions
-
void dpftrs(const char *transr, const char *uplo, const INT n, const INT nrhs, const f64 *restrict A, f64 *restrict B, const INT ldb, INT *info)#
DPFTRS 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 DPFTRF.
Parameters
intransr= ‘N’: The Normal TRANSR of RFP A is stored; = ‘T’: The Transpose TRANSR of RFP A is stored.
inuplo= ‘U’: Upper triangle of RFP A is stored; = ‘L’: Lower triangle of RFP A is stored.
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inADouble precision array, dimension (n*(n+1)/2). The triangular factor U or L from the Cholesky factorization.
inoutBDouble precision array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.
inldbThe leading dimension of B. ldb >= max(1, n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void dpftrs(
const char* transr,
const char* uplo,
const INT n,
const INT nrhs,
const f64* restrict A,
f64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void cpftrs(const char *transr, const char *uplo, const INT n, const INT nrhs, const c64 *restrict A, c64 *restrict B, const INT ldb, INT *info)#
CPFTRS 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 CPFTRF.
Parameters
intransr= ‘N’: The Normal TRANSR of RFP A is stored; = ‘C’: The Conjugate-transpose TRANSR of RFP A is stored.
inuplo= ‘U’: Upper triangle of RFP A is stored; = ‘L’: Lower triangle of RFP A is stored.
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inAComplex*16 array, dimension (n*(n+1)/2). The triangular factor U or L from the Cholesky factorization.
inoutBComplex*16 array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.
inldbThe leading dimension of B. ldb >= max(1, n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void cpftrs(
const char* transr,
const char* uplo,
const INT n,
const INT nrhs,
const c64* restrict A,
c64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void zpftrs(const char *transr, const char *uplo, const INT n, const INT nrhs, const c128 *restrict A, c128 *restrict B, const INT ldb, INT *info)#
ZPFTRS 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 ZPFTRF.
Parameters
intransr= ‘N’: The Normal TRANSR of RFP A is stored; = ‘C’: The Conjugate-transpose TRANSR of RFP A is stored.
inuplo= ‘U’: Upper triangle of RFP A is stored; = ‘L’: Lower triangle of RFP A is stored.
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inAComplex*16 array, dimension (n*(n+1)/2). The triangular factor U or L from the Cholesky factorization.
inoutBComplex*16 array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.
inldbThe leading dimension of B. ldb >= max(1, n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void zpftrs(
const char* transr,
const char* uplo,
const INT n,
const INT nrhs,
const c128* restrict A,
c128* restrict B,
const INT ldb,
INT* info
);