Learn R Programming

lgcp (version 1.0)

rotmat: rotmat function...

Description

rotmat function

Usage

rotmat(theta)

Arguments

theta
an angle in radians

Value

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

Details

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