DPOSV Example
For a detailed description and reference information on this function, please visit:
The routine solves the real system of linear equations for
X
:
A*X = B
where
- Ais a square symmetric positive-definite matrix.
- The columns of matrixBare individual right-hand sides.
- The columns ofXare the corresponding solutions.
The matrix
B
is overwritten by
X
.
The Cholesky decomposition is used to factor
A
as:
A
=
U
T
*U
uplo
= 'U
'A
=
L
*L
T
uplo
= 'L
'where
- Uis an upper triangular matrix.
- Lis a lower triangular matrix.
The factored form of
.
A
is then used to solve the system of equations
A
*X
=
B
Fortran-77 Interface
C Interface
Please refer to the
Matrix Layout section of the C Interface Conventions for the description of Row Major (C default) and Column Major (Fortran default).