operator(-) Interface

public interface operator(-)

Defines polynomial subtraction.


Contents


Module Procedures

private function poly_poly_subtract(x, y) result(z)

Subtracts two polynomials.

Arguments

Type IntentOptional Attributes Name
class(polynomial), intent(in) :: x

The left-hand-side argument.

class(polynomial), intent(in) :: y

The right-hand-side argument.

Return Value type(polynomial)

The resulting polynomial.