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)))

lava documentation built on Nov. 5, 2023, 1:10 a.m.