polar2cartesian: Translate between Polar and Cartesian Coordinates.

View source: R/RcppExports.R

polar2cartesianR Documentation

Translate between Polar and Cartesian Coordinates.

Description

Given (x,y) return (r, theta), or visa-versa.

Usage

polar2cartesian(r, theta)

cartesian2polar(x, y)

Arguments

r

a numeric vector of radii

theta

a numeric vector of angles (in radians)

x

a numeric vector of x coordinates

y

a numeric vector of y coordinates

Value

A numeric matrix


dewittpe/sccm documentation built on Feb. 2, 2024, 5:25 p.m.