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

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

Detailed Description

Compute the solution to system of linear equations A * X = B for PO matrices.

Member Function/Subroutine Documentation

◆ lapack_dposv()

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.

Parameters
[in]nThe number of linear equations, i.e., the order of the matrix A. N >= 0.
[in]nrhsThe number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
[in,out]aOn 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]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]errstatError level
[out]errmsgMessage describing error
[in]uplo'U': Upper triangle of A is stored; 'L': Lower triangle of A is stored.

◆ lapack_sposv()

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.

Parameters
[in]nThe number of linear equations, i.e., the order of the matrix A. N >= 0.
[in]nrhsThe number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
[in,out]aOn 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]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]errstatError level
[out]errmsgMessage describing error
[in]uplo'U': Upper triangle of A is stored; 'L': Lower triangle of A is stored.

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