cosines: Direction cosines

cosinesR Documentation

Direction cosines

Description

Given a vector of three-velocities, returns their direction cosines

Usage

cosines(u, drop = TRUE)

Arguments

u

A vector of three-velocities

drop

Boolean, with default TRUE meaning to coerce return value from a one-row matrix to a vector, and FALSE meaning to consistently return a matrix

Author(s)

Robin K. S. Hankin

Examples


cosines(r3vel(7))


cosines(r3vel(1),drop=TRUE)
cosines(r3vel(1),drop=FALSE)

RobinHankin/gyrogroup documentation built on April 24, 2024, 9:36 a.m.