Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(container), | intent(in) | :: | item1 | The item which the other is subtracted from |
||
class(container), | intent(in) | :: | item2 | The item subtracted from the other |
A real number, the absolute value of which represents the
magnitude of the difference between item1
and item2
.
An abstract interface for a procedure finding the difference
between two items, item1 - item2
. Note that a procedure may
satisfy both this abstract interface and comparison_func.