hpcon Interface

public interface hpcon

HPCON estimates the reciprocal of the condition number of a complex Hermitian packed matrix A using the factorization A = UDUH or A = LDLH computed by CHPTRF. An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).


Subroutines

public pure subroutine chpcon(uplo, n, ap, ipiv, anorm, rcond, work, info)

Arguments

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

public pure subroutine zhpcon(uplo, n, ap, ipiv, anorm, rcond, work, info)

Arguments

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

Module Procedures

public interface stdlib_chpcon()

Arguments

None

public interface stdlib_zhpcon()

Arguments

None