operator(+) Interface

public interface operator(+)

Defines polynomial addition.


Contents


Module Procedures

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

Adds 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.