operator(**) Interface

public interface operator(**)

Contents


Module Procedures

private pure elemental function quat_pwr(q, exponent) result(rst)

Computes the result of a quaternion raised to an exponent.

Arguments

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

The quaternion base.

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

The exponent.

Return Value type(quaternion)

The resulting quaternion.

private pure elemental function quat_int_pwr(q, exponent) result(rst)

Computes the result of a quaternion raised to an exponent.

Arguments

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

The quaternion base.

integer(kind=int32), intent(in) :: exponent

The exponent.

Return Value type(quaternion)

The resulting quaternion.