hermitian Interface

public interface hermitian

Computes the Hermitian version of a rank-2 matrix. For complex matrices, this returns conjg(transpose(a)). For real or integer matrices, this returns transpose(a).

Usage:

A  = reshape([(1, 2), (3, 4), (5, 6), (7, 8)], [2, 2])
AH = hermitian(A)

Specification


Functions

private pure module function hermitian_cdp(a) result(ah)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: a(:,:)

Return Value complex(kind=dp), (size(a,2),size(a,1))

private pure module function hermitian_csp(a) result(ah)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: a(:,:)

Return Value complex(kind=sp), (size(a,2),size(a,1))

private pure module function hermitian_iint16(a) result(ah)

Arguments

Type IntentOptional Attributes Name
integer(kind=int16), intent(in) :: a(:,:)

Return Value integer(kind=int16), (size(a,2),size(a,1))

private pure module function hermitian_iint32(a) result(ah)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: a(:,:)

Return Value integer(kind=int32), (size(a,2),size(a,1))

private pure module function hermitian_iint64(a) result(ah)

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: a(:,:)

Return Value integer(kind=int64), (size(a,2),size(a,1))

private pure module function hermitian_iint8(a) result(ah)

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: a(:,:)

Return Value integer(kind=int8), (size(a,2),size(a,1))

private pure module function hermitian_rdp(a) result(ah)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: a(:,:)

Return Value real(kind=dp), (size(a,2),size(a,1))

private pure module function hermitian_rsp(a) result(ah)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: a(:,:)

Return Value real(kind=sp), (size(a,2),size(a,1))