arg Interface

public interface arg

arg computes the phase angle in the interval (-π,π]. (Specification)


Module Procedures

private elemental function arg_sp(z) result(result)

Arguments

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

Return Value real(kind=sp)

private elemental function arg_dp(z) result(result)

Arguments

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

Return Value real(kind=dp)