is_diagonal Interface

public interface is_diagonal

Checks if a matrix (rank-2 array) is diagonal (Specification)


Contents


Module Procedures

private pure function is_diagonal_rsp(A) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: A(:,:)

Return Value logical

private pure function is_diagonal_rdp(A) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: A(:,:)

Return Value logical

private pure function is_diagonal_csp(A) result(res)

Arguments

TypeIntentOptionalAttributesName
complex(kind=sp), intent(in) :: A(:,:)

Return Value logical

private pure function is_diagonal_cdp(A) result(res)

Arguments

TypeIntentOptionalAttributesName
complex(kind=dp), intent(in) :: A(:,:)

Return Value logical

private pure function is_diagonal_iint8(A) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: A(:,:)

Return Value logical

private pure function is_diagonal_iint16(A) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: A(:,:)

Return Value logical

private pure function is_diagonal_iint32(A) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: A(:,:)

Return Value logical

private pure function is_diagonal_iint64(A) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: A(:,:)

Return Value logical