rotate_z Function

public pure function rotate_z(angle) result(rst)

Constructs the rotation matrix describing a rotation about a y-axis such that .

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: angle

The rotation angle, in radians.

Return Value real(kind=real64), (3,3)

The resulting 3-by-3 matrix.


Contents