Checks if two rank-1 floating point arrays of type double are close within tolerance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in), | dimension(:) | :: | a | (m,) array |
|
real(kind=rp), | intent(in), | dimension(:) | :: | b | (m,) array |
|
real(kind=rp), | intent(in), | optional | :: | rel_tol | Relative tolerance; default 1e-10 |
|
real(kind=rp), | intent(in), | optional | :: | abs_tol | Absolute tolerance; default 0.0 |