powered by
Given a vector of three-velocities, returns their direction cosines
cosines(u, drop = TRUE)
A vector of three-velocities
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
TRUE
FALSE
Robin K. S. Hankin
cosines(r3vel(7)) cosines(r3vel(1),drop=TRUE) cosines(r3vel(1),drop=FALSE)
Run the code above in your browser using DataLab