OpenFAST
Wind turbine multiphysics simulator
|
Computes the solution to system of linear equations A * X = B for GE matrices. More...
Public Member Functions | |
subroutine | lapack_dgesv (N, A, IPIV, B, ErrStat, ErrMsg) |
general solve: Computes the solution to system of linear equations A * X = B for GE matrices. More... | |
subroutine | lapack_sgesv (N, A, IPIV, B, ErrStat, ErrMsg) |
general solve: Computes the solution to system of linear equations A * X = B for GE matrices. More... | |
Computes the solution to system of linear equations A * X = B for GE matrices.
subroutine nwtc_lapack::lapack_gesv::lapack_dgesv | ( | integer, intent(in) | N, |
real(r8ki), dimension( :, : ), intent(inout) | A, | ||
integer, dimension( : ), intent(out) | IPIV, | ||
real(r8ki), dimension( :, : ), intent(inout) | B, | ||
integer(intki), intent(out) | ErrStat, | ||
character(*), intent(out) | ErrMsg | ||
) |
general solve: Computes the solution to system of linear equations A * X = B for GE matrices.
use LAPACK_GESV (nwtc_lapack::lapack_gesv) instead of this specific function.
[in] | n | The number of linear equations, i.e., the order of the matrix A. N >= 0. |
[in,out] | a | On entry, the N-by-N coefficient matrix A. On exit, the factors L and U from the factorization A = P*L*U; the unit diagonal elements of L are not stored. |
[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] | ipiv | The pivot indices that define the permutation matrix P; row i of the matrix was interchanged with row IPIV(i). |
[out] | errstat | Error level |
[out] | errmsg | Message describing error |
subroutine nwtc_lapack::lapack_gesv::lapack_sgesv | ( | integer, intent(in) | N, |
real(siki), dimension( :, : ), intent(inout) | A, | ||
integer, dimension( : ), intent(out) | IPIV, | ||
real(siki), dimension( :, : ), intent(inout) | B, | ||
integer(intki), intent(out) | ErrStat, | ||
character(*), intent(out) | ErrMsg | ||
) |
general solve: Computes the solution to system of linear equations A * X = B for GE matrices.
use LAPACK_GESV (nwtc_lapack::lapack_gesv) instead of this specific function.
[in] | n | The number of linear equations, i.e., the order of the matrix A. N >= 0. |
[in,out] | a | On entry, the N-by-N coefficient matrix A. On exit, the factors L and U from the factorization A = P*L*U; the unit diagonal elements of L are not stored. |
[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] | ipiv | The pivot indices that define the permutation matrix P; row i of the matrix was interchanged with row IPIV(i). |
[out] | errstat | Error level |
[out] | errmsg | Message describing error |