sum Interface

public interface sum

Module Procedures

private pure function spin_sum(this) result(r)

Calculate the sum of an array of spin matrices.

Arguments

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

Return Value type(spin)