rotate2: Performs a rotation in the plane

rotate2R Documentation

Performs a rotation in the plane

Description

Performs a rotation in the plane

Usage

rotate2(x, theta = pi)

Arguments

x

Matrix to be rotated (2 times n)

theta

Rotation in radians

Value

Returns a matrix of the same dimension as x

Author(s)

Klaus K. Holst

Examples

rotate2(cbind(c(1,2),c(2,1)))

kkholst/lava documentation built on Feb. 22, 2024, 4:07 p.m.