subtract Interface

interface
private impure elemental module function subtract(lhs, rhs) result(difference)

Arguments

Type IntentOptional Attributes Name
class(units), intent(in) :: lhs
class(units), intent(in) :: rhs

Return Value type(units)

Description

result is the units of the difference of two dimensional quantities; includes operand consistency check