OpenFAST
Wind turbine multiphysics simulator
|
Compute the solution to system of linear equations A * X = B for PO matrices. More...
Public Member Functions | |
subroutine | lapack_dposv (UPLO, N, NRHS, A, B, ErrStat, ErrMsg) |
Compute the solution to system of linear equations A * X = B for PO (positive-definite) matrices. More... | |
subroutine | lapack_sposv (UPLO, N, NRHS, A, B, ErrStat, ErrMsg) |
Compute the solution to system of linear equations A * X = B for PO (positive-definite) matrices. More... | |
Compute the solution to system of linear equations A * X = B for PO matrices.
subroutine nwtc_lapack::lapack_posv::lapack_dposv | ( | character(1), intent(in) | UPLO, |
integer, intent(in) | N, | ||
integer, intent(in) | NRHS, | ||
real(r8ki), dimension( :, : ), intent(inout) | A, | ||
real(r8ki), dimension( :, : ), intent(inout) | B, | ||
integer(intki), intent(out) | ErrStat, | ||
character(*), intent(out) | ErrMsg | ||
) |
Compute the solution to system of linear equations A * X = B for PO (positive-definite) matrices.
use LAPACK_POSV (nwtc_lapack::lapack_posv) instead of this specific function.
[in] | n | The number of linear equations, i.e., the order of the matrix A. N >= 0. |
[in] | nrhs | The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0. |
[in,out] | a | On entry, the symmetric matrix A. If UPLO = 'U', the leading N-by-N upper triangular part of A contains 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 triangular 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. |
[in,out] | b | On entry, the N-by-NRHS matrix of right hand side matrix B. On exit, if INFO = 0, the N-by-NRHS solution matrix X. |
[out] | errstat | Error level |
[out] | errmsg | Message describing error |
[in] | uplo | 'U': Upper triangle of A is stored; 'L': Lower triangle of A is stored. |
subroutine nwtc_lapack::lapack_posv::lapack_sposv | ( | character(1), intent(in) | UPLO, |
integer, intent(in) | N, | ||
integer, intent(in) | NRHS, | ||
real(siki), dimension( :, : ), intent(inout) | A, | ||
real(siki), dimension( :, : ), intent(inout) | B, | ||
integer(intki), intent(out) | ErrStat, | ||
character(*), intent(out) | ErrMsg | ||
) |
Compute the solution to system of linear equations A * X = B for PO (positive-definite) matrices.
use LAPACK_POSV (nwtc_lapack::lapack_posv) instead of this specific function.
[in] | n | The number of linear equations, i.e., the order of the matrix A. N >= 0. |
[in] | nrhs | The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0. |
[in,out] | a | On entry, the symmetric matrix A. If UPLO = 'U', the leading N-by-N upper triangular part of A contains 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 triangular 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. |
[in,out] | b | On entry, the N-by-NRHS matrix of right hand side matrix B. On exit, if INFO = 0, the N-by-NRHS solution matrix X. |
[out] | errstat | Error level |
[out] | errmsg | Message describing error |
[in] | uplo | 'U': Upper triangle of A is stored; 'L': Lower triangle of A is stored. |