trace Interface

public interface trace

An interface to the trace routines.


Module Procedures

private pure function trace_dbl(x) result(y)

Computes the trace of a matrix.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:,:) :: x

The matrix.

Return Value real(kind=real64)

The trace of the matrix.

private pure function trace_cmplx(x) result(y)

Computes the trace of a matrix.

Arguments

Type IntentOptional Attributes Name
complex(kind=real64), intent(in), dimension(:,:) :: x

The matrix.

Return Value complex(kind=real64)

The trace of the matrix.