pptrs#
Functions
-
void spptrs(const char *uplo, const INT n, const INT nrhs, const f32 *restrict AP, f32 *restrict B, const INT ldb, INT *info)#
SPPTRS solves a system of linear equations A*X = B with a symmetric positive definite matrix A in packed storage using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPPTRF.
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, i.e., the number of columns of the matrix
B.nrhs>=0.inAPArray of dimension
n*(n+1)/2. The triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, packed columnwise in a linear array. The j-th column of U or L is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = U(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = L(i,j)forj<=i<=n-1.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 spptrs(
const char* uplo,
const INT n,
const INT nrhs,
const f32* restrict AP,
f32* restrict B,
const INT ldb,
INT* info
);
Functions
-
void dpptrs(const char *uplo, const INT n, const INT nrhs, const f64 *restrict AP, f64 *restrict B, const INT ldb, INT *info)#
DPPTRS solves a system of linear equations A*X = B with a symmetric positive definite matrix A in packed storage using the Cholesky factorization A = U**T*U or A = L*L**T computed by DPPTRF.
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, i.e., the number of columns of the matrix
B.nrhs>=0.inAPArray of dimension
n*(n+1)/2. The triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, packed columnwise in a linear array. The j-th column of U or L is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = U(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = L(i,j)forj<=i<=n-1.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 dpptrs(
const char* uplo,
const INT n,
const INT nrhs,
const f64* restrict AP,
f64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void cpptrs(const char *uplo, const INT n, const INT nrhs, const c64 *restrict AP, c64 *restrict B, const INT ldb, INT *info)#
CPPTRS solves a system of linear equations A*X = B with a Hermitian positive definite matrix A in packed storage using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPPTRF.
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, i.e., the number of columns of the matrix
B.nrhs>=0.inAPArray of dimension
n*(n+1)/2. The triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, packed columnwise in a linear array. The j-th column of U or L is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = U(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = L(i,j)forj<=i<=n-1.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 cpptrs(
const char* uplo,
const INT n,
const INT nrhs,
const c64* restrict AP,
c64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void zpptrs(const char *uplo, const INT n, const INT nrhs, const c128 *restrict AP, c128 *restrict B, const INT ldb, INT *info)#
ZPPTRS solves a system of linear equations A*X = B with a Hermitian positive definite matrix A in packed storage using the Cholesky factorization A = U**H*U or A = L*L**H computed by ZPPTRF.
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, i.e., the number of columns of the matrix
B.nrhs>=0.inAPArray of dimension
n*(n+1)/2. The triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, packed columnwise in a linear array. The j-th column of U or L is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = U(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = L(i,j)forj<=i<=n-1.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 zpptrs(
const char* uplo,
const INT n,
const INT nrhs,
const c128* restrict AP,
c128* restrict B,
const INT ldb,
INT* info
);