OpenFAST
Wind turbine multiphysics simulator
|
Computes the solution to system of linear equations A * X = B for GB matrices. More...
Public Member Functions | |
subroutine | lapack_dgbsv (N, KL, KU, NRHS, AB, IPIV, B, ErrStat, ErrMsg) |
general banded solve: Computes the solution to system of linear equations A * X = B for GB (general, banded) matrices. More... | |
subroutine | lapack_sgbsv (N, KL, KU, NRHS, AB, IPIV, B, ErrStat, ErrMsg) |
general banded solve: Computes the solution to system of linear equations A * X = B for GB (general, banded) matrices. More... | |
Computes the solution to system of linear equations A * X = B for GB matrices.
subroutine nwtc_lapack::lapack_gbsv::lapack_dgbsv | ( | integer, intent(in) | N, |
integer, intent(in) | KL, | ||
integer, intent(in) | KU, | ||
integer, intent(in) | NRHS, | ||
real(r8ki), dimension( :, : ), intent(inout) | AB, | ||
integer, dimension( : ), intent(out) | IPIV, | ||
real(r8ki), dimension( :, : ), intent(inout) | B, | ||
integer(intki), intent(out) | ErrStat, | ||
character(*), intent(out) | ErrMsg | ||
) |
general banded solve: Computes the solution to system of linear equations A * X = B for GB (general, banded) matrices.
use LAPACK_GBSV (nwtc_lapack::lapack_gbsv) instead of this specific function.
[in] | kl | The number of subdiagonals within the band of A. KL >= 0. |
[in] | ku | The number of superdiagonals within the band of A. KU >= 0. |
[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] | ab | On entry, the matrix A in band storage, in rows KL+1 to 2*KL+KU+1; rows 1 to KL of the array need not be set. The j-th column of A is stored in the j-th column of the array AB as follows: AB(KL+KU+1+i-j,j) = A(i,j) for max(1,j-KU)<=i<=min(N,j+KL) On exit, details of the factorization: U is stored as an upper triangular band matrix with KL+KU superdiagonals in rows 1 to KL+KU+1, and the multipliers used during the factorization are stored in rows KL+KU+2 to 2*KL+KU+1. |
[in,out] | b | On entry, the N-by-NRHS 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_gbsv::lapack_sgbsv | ( | integer, intent(in) | N, |
integer, intent(in) | KL, | ||
integer, intent(in) | KU, | ||
integer, intent(in) | NRHS, | ||
real(siki), dimension( :, : ), intent(inout) | AB, | ||
integer, dimension( : ), intent(out) | IPIV, | ||
real(siki), dimension( :, : ), intent(inout) | B, | ||
integer(intki), intent(out) | ErrStat, | ||
character(*), intent(out) | ErrMsg | ||
) |
general banded solve: Computes the solution to system of linear equations A * X = B for GB (general, banded) matrices.
use LAPACK_GBSV (nwtc_lapack::lapack_gbsv) instead of this specific function.
[in] | kl | The number of subdiagonals within the band of A. KL >= 0. |
[in] | ku | The number of superdiagonals within the band of A. KU >= 0. |
[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] | ab | On entry, the matrix A in band storage, in rows KL+1 to 2*KL+KU+1; rows 1 to KL of the array need not be set. The j-th column of A is stored in the j-th column of the array AB as follows: AB(KL+KU+1+i-j,j) = A(i,j) for max(1,j-KU)<=i<=min(N,j+KL) On exit, details of the factorization: U is stored as an upper triangular band matrix with KL+KU superdiagonals in rows 1 to KL+KU+1, and the multipliers used during the factorization are stored in rows KL+KU+2 to 2*KL+KU+1. |
[in,out] | b | On entry, the N-by-NRHS 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 |