trace Interface

public interface trace

Module Procedures

private elemental function spin_trace(this) result(r)

Calculate the trace of the spin matrix.

Arguments

Type IntentOptional Attributes Name
class(spin), intent(in) :: this

Return Value complex(kind=wp)