operator(+) Interface

public interface operator(+)

Contents


Module Procedures

private pure elemental function quat_add(x, y) result(rst)

Adds two quaternions together.

Arguments

Type IntentOptional Attributes Name
type(quaternion), intent(in) :: x

The left-hand-side argument.

type(quaternion), intent(in) :: y

The right-hand-side argument.

Return Value type(quaternion)

The resulting quaternion.