OpenFAST
Wind turbine multiphysics simulator
Public Member Functions | List of all members
nwtc_lapack::lapack_gesv Interface Reference

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...
 

Detailed Description

Computes the solution to system of linear equations A * X = B for GE matrices.

Member Function/Subroutine Documentation

◆ lapack_dgesv()

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.

Parameters
[in]nThe number of linear equations, i.e., the order of the matrix A. N >= 0.
[in,out]aOn 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]bOn 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]ipivThe pivot indices that define the permutation matrix P; row i of the matrix was interchanged with row IPIV(i).
[out]errstatError level
[out]errmsgMessage describing error

◆ lapack_sgesv()

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.

Parameters
[in]nThe number of linear equations, i.e., the order of the matrix A. N >= 0.
[in,out]aOn 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]bOn 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]ipivThe pivot indices that define the permutation matrix P; row i of the matrix was interchanged with row IPIV(i).
[out]errstatError level
[out]errmsgMessage describing error

The documentation for this interface was generated from the following file: