assignment(=) Interface

public interface assignment(=)

Defines polynomial assignment.


Contents


Module Procedures

private subroutine poly_equals(x, y)

Assigns the contents of one polynomial to another.

Arguments

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

The assignee.

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

The item to copy.

private subroutine poly_dbl_equals(x, y)

Assigns a number to each coefficient of the polynomial.

Arguments

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

The assignee.

real(kind=real64), intent(in) :: y

The value to assign.

private subroutine poly_equals_array(x, y)

Assigns the contents of an array as polynomial coefficients.

Arguments

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

The assignee.

real(kind=real64), intent(in), dimension(:) :: y

The coefficient array.