subtraction_func Abstract Interface

abstract interface
public pure function subtraction_func(item1, item2)

Arguments

Type IntentOptional AttributesName
class(container), intent(in) :: item1

The item which the other is subtracted from

class(container), intent(in) :: item2

The item subtracted from the other

Return Value real

A real number, the absolute value of which represents the magnitude of the difference between item1 and item2.

Description

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.