Function
NumCosmoMathlapack_dsytrs
Declaration [src]
gint
ncm_lapack_dsytrs (
gchar uplo,
gint n,
gint nrhs,
gdouble* a,
gint lda,
gint* ipiv,
gdouble* b,
gint ldb
)
Description [src]
This function computes the solution of $A X = B$ for a real symmetric positive
definite matrix a = A using the Cholesky factorization $A = U^TU$ or $A = LL^T$
already performed by ncm_lapack_dpotrf().
On entry b contain the vectors $B$ and on exit b contain the solutions if the return
is 0.
Parameters
uplo-
Type:
gchar‘U’ upper triangle of
ais stored; ‘L’ lower triangle ofais stored. n-
Type:
gintThe order of the matrix
a,n>= 0. nrhs-
Type:
gintNumber of right-hand-side vectors to solve.
a-
Type:
gdouble*Array of doubles with dimension (
n,lda).The data is owned by the caller of the function. lda-
Type:
gintThe leading dimension of the array
a,lda>= max (1,n). ipiv-
Type:
gint*Information about decomposition swaps and blocks.
The data is owned by the caller of the function. b-
Type:
gdouble*Array of doubles with dimension (
n,ldb).The data is owned by the caller of the function. ldb-
Type:
gintThe leading dimension of the array
b,ldb>= max (1,n).