|
LINEAR++ library: AFF to LAPACK
|
| void linear::lapack::dposv | ( | char | UPLO, |
| TDmatrix & | A, | ||
| TDmatrix & | B, | ||
| int & | INFO, | ||
| const bool & | debug | ||
| ) |
Compute the solution to a real system of linear equations A * X = B.
Compute the solution to a real system of linear equations A * X = B.
| UPLO | (input) CHARACTER*1 = 'U': Upper triangle of A is stored; = 'L': Lower triangle of A is stored. |
| A | (input/output) DOUBLE PRECISION array, dimension (LDA,N) On entry, the symmetric matrix A. If UPLO = 'U', the leading N-by-N upper triangular part of A con tains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = 'L', the leading N-by-N lower triangular part of A contains the lower tri angular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, if INFO = 0, the factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T. |
| B | (input/output) DOUBLE PRECISION array, dimension (LDB,NRHS) On entry, the N-by-NRHS right hand side matrix B. On exit, if INFO = 0, the N-by-NRHS solution matrix X. |
| INFO | (output) INTEGER = 0: successful exit < 0: if INFO = -i, the i-th argument had an ille gal value > 0: if INFO = i, the leading minor of order i of A is not positive definite, so the factorization could not be completed, and the solution has not been computed. |
| debug | (input) bool switch debug messages on |
Definition at line 87 of file dposv_if.cc.
References dposv_(), LINEAR_assert, LINEAR_debug, and LINEAR_LAPACK_failure.
Referenced by dposv(), main(), and test().

