trace Interface

public interface trace

Computes the trace of a matrix (Specification)


Module Procedures

private function trace_rsp(A) result(res)

Arguments

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

Return Value real(kind=sp)

private function trace_rdp(A) result(res)

Arguments

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

Return Value real(kind=dp)

private function trace_csp(A) result(res)

Arguments

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

Return Value complex(kind=sp)

private function trace_cdp(A) result(res)

Arguments

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

Return Value complex(kind=dp)

private function trace_iint8(A) result(res)

Arguments

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

Return Value integer(kind=int8)

private function trace_iint16(A) result(res)

Arguments

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

Return Value integer(kind=int16)

private function trace_iint32(A) result(res)

Arguments

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

Return Value integer(kind=int32)

private function trace_iint64(A) result(res)

Arguments

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

Return Value integer(kind=int64)