Learn R Programming

lgcp (version 1.8)

rotmat: rotmat function

Description

This function returns a rotation matrix corresponding to an anticlockwise rotation of theta radians about the origin

Usage

rotmat(theta)

Arguments

theta

an angle in radians

Value

the transformation matrix corresponding to an anticlockwise rotation of theta radians about the origin