hptrf Interface

public interface hptrf

HPTRF computes the factorization of a complex Hermitian packed matrix A using the Bunch-Kaufman diagonal pivoting method: A = UDUH or A = LDLH where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is Hermitian and block diagonal with 1-by-1 and 2-by-2 diagonal blocks.


Subroutines

public pure subroutine chptrf(uplo, n, ap, ipiv, info)

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: uplo
integer(kind=ilp), intent(in) :: n
complex(kind=sp), intent(inout) :: ap(*)
integer(kind=ilp), intent(out) :: ipiv(*)
integer(kind=ilp), intent(out) :: info

public pure subroutine zhptrf(uplo, n, ap, ipiv, info)

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: uplo
integer(kind=ilp), intent(in) :: n
complex(kind=dp), intent(inout) :: ap(*)
integer(kind=ilp), intent(out) :: ipiv(*)
integer(kind=ilp), intent(out) :: info

Module Procedures

public interface stdlib_chptrf()

Arguments

None

public interface stdlib_zhptrf()

Arguments

None