Function

NumCosmoMathlapack_dsysv

Declaration [src]

gint
ncm_lapack_dsysv (
  gchar uplo,
  gint n,
  gint nrhs,
  gdouble* a,
  gint lda,
  gint* ipiv,
  gdouble* b,
  gint ldb,
  gdouble* work,
  gint lwork
)

Description [src]

Purpose

DSYSV uses the diagonal pivoting factorization to compute the solution to a real system of linear equations A * X = B, where A is an N-by-N symmetric matrix and X and B are N-by-NRHS matrices.

Parameters

uplo

Type: gchar

UPLO is CHARACTER*1.

n

Type: gint

N is INTEGER.

nrhs

Type: gint

NRHS is INTEGER.

a

Type: gdouble*

A is DOUBLE PRECISION array, dimension (LDA,N).

The data is owned by the caller of the function.
lda

Type: gint

LDA is INTEGER.

ipiv

Type: gint*

IPIV is INTEGER array, dimension (N).

The data is owned by the caller of the function.
b

Type: gdouble*

B is DOUBLE PRECISION array, dimension (LDB,NRHS).

The data is owned by the caller of the function.
ldb

Type: gint

LDB is INTEGER.

work

Type: gdouble*

WORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK)).

The data is owned by the caller of the function.
lwork

Type: gint

LWORK is INTEGER.

Return value

Type: gint

INFO is INTEGER - = 0: successful exit - < 0: if INFO = -i, the i-th argument had an illegal value - > 0: if INFO = i, and i is - <= N: D(i,i) is exactly zero. The factorization has been completed but the factor D is exactly singular, so the solution could not be computed.