all_close Interface

public interface all_close

Returns a boolean scalar where two arrays are element-wise equal within a tolerance. (Specification)


Functions

private pure module function all_close_1_cdp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: a(:)
complex(kind=dp), intent(in) :: b(:)
real(kind=dp), intent(in), optional :: rel_tol
real(kind=dp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_1_csp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: a(:)
complex(kind=sp), intent(in) :: b(:)
real(kind=sp), intent(in), optional :: rel_tol
real(kind=sp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_1_rdp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: a(:)
real(kind=dp), intent(in) :: b(:)
real(kind=dp), intent(in), optional :: rel_tol
real(kind=dp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_1_rsp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: a(:)
real(kind=sp), intent(in) :: b(:)
real(kind=sp), intent(in), optional :: rel_tol
real(kind=sp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_2_cdp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: a(:,:)
complex(kind=dp), intent(in) :: b(:,:)
real(kind=dp), intent(in), optional :: rel_tol
real(kind=dp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_2_csp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: a(:,:)
complex(kind=sp), intent(in) :: b(:,:)
real(kind=sp), intent(in), optional :: rel_tol
real(kind=sp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_2_rdp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: a(:,:)
real(kind=dp), intent(in) :: b(:,:)
real(kind=dp), intent(in), optional :: rel_tol
real(kind=dp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_2_rsp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: a(:,:)
real(kind=sp), intent(in) :: b(:,:)
real(kind=sp), intent(in), optional :: rel_tol
real(kind=sp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_3_cdp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: a(:,:,:)
complex(kind=dp), intent(in) :: b(:,:,:)
real(kind=dp), intent(in), optional :: rel_tol
real(kind=dp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_3_csp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: a(:,:,:)
complex(kind=sp), intent(in) :: b(:,:,:)
real(kind=sp), intent(in), optional :: rel_tol
real(kind=sp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_3_rdp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: a(:,:,:)
real(kind=dp), intent(in) :: b(:,:,:)
real(kind=dp), intent(in), optional :: rel_tol
real(kind=dp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical

private pure module function all_close_3_rsp(a, b, rel_tol, abs_tol, equal_nan) result(close)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: a(:,:,:)
real(kind=sp), intent(in) :: b(:,:,:)
real(kind=sp), intent(in), optional :: rel_tol
real(kind=sp), intent(in), optional :: abs_tol
logical, intent(in), optional :: equal_nan

Return Value logical