public interface is_close
Returns a boolean scalar/array where two scalar/arrays are element-wise equal within a tolerance.
(Specification)
Functions
Arguments
Type |
Intent | Optional | 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
Arguments
Type |
Intent | Optional | 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
Arguments
Type |
Intent | Optional | 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
Arguments
Type |
Intent | Optional | 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