gtsv Interface

public interface gtsv

GTSV solves the equation AX = B, where A is an N-by-N tridiagonal matrix, by Gaussian elimination with partial pivoting. Note that the equation AT X = B may be solved by interchanging the order of the arguments DU and DL.


Subroutines

public pure subroutine cgtsv(n, nrhs, dl, d, du, b, ldb, info)

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
integer(kind=ilp), intent(in) :: nrhs
complex(kind=sp), intent(inout) :: dl(*)
complex(kind=sp), intent(inout) :: d(*)
complex(kind=sp), intent(inout) :: du(*)
complex(kind=sp), intent(inout) :: b(ldb,*)
integer(kind=ilp), intent(in) :: ldb
integer(kind=ilp), intent(out) :: info

public pure subroutine dgtsv(n, nrhs, dl, d, du, b, ldb, info)

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
integer(kind=ilp), intent(in) :: nrhs
real(kind=dp), intent(inout) :: dl(*)
real(kind=dp), intent(inout) :: d(*)
real(kind=dp), intent(inout) :: du(*)
real(kind=dp), intent(inout) :: b(ldb,*)
integer(kind=ilp), intent(in) :: ldb
integer(kind=ilp), intent(out) :: info

public pure subroutine sgtsv(n, nrhs, dl, d, du, b, ldb, info)

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
integer(kind=ilp), intent(in) :: nrhs
real(kind=sp), intent(inout) :: dl(*)
real(kind=sp), intent(inout) :: d(*)
real(kind=sp), intent(inout) :: du(*)
real(kind=sp), intent(inout) :: b(ldb,*)
integer(kind=ilp), intent(in) :: ldb
integer(kind=ilp), intent(out) :: info

public pure subroutine zgtsv(n, nrhs, dl, d, du, b, ldb, info)

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
integer(kind=ilp), intent(in) :: nrhs
complex(kind=dp), intent(inout) :: dl(*)
complex(kind=dp), intent(inout) :: d(*)
complex(kind=dp), intent(inout) :: du(*)
complex(kind=dp), intent(inout) :: b(ldb,*)
integer(kind=ilp), intent(in) :: ldb
integer(kind=ilp), intent(out) :: info

Module Procedures

public interface stdlib_cgtsv()

Arguments

None

public interface stdlib_dgtsv()

Arguments

None

public interface stdlib_sgtsv()

Arguments

None

public interface stdlib_zgtsv()

Arguments

None