Function
NumCosmoMathlapack_dptsv
Declaration [src]
gint
ncm_lapack_dptsv (
gdouble* d,
gdouble* e,
gdouble* b,
gdouble* x,
gint n
)
Description [src]
This function computes the solution to a real system of linear equations
$A*X = B$ (B = b), where $A$ is an N-by-N (N = n) symmetric positive definite tridiagonal
matrix, and $X$ and $B$ are N-by-NRHS (NRHS = 1) matrices.
$A$ is factored as $A = LDL^T$, and the factored form of $A$ is then used to solve the system of equations.
Parameters
d-
Type:
gdouble*Array of doubles with dimension
n.The data is owned by the caller of the function. e-
Type:
gdouble*Array of doubles with dimension
n-1.The data is owned by the caller of the function. b-
Type:
gdouble*Array of doubles with dimension
n.The data is owned by the caller of the function. x-
Type:
gdouble*Array of doubles with dimension
n.The data is owned by the caller of the function. n-
Type:
gintThe order of the matrix $A$ (>= 0).