View source: R/TrajectoryGeometry.R
orthonormalBasis | R Documentation |
Given a vector in R3, this normalizes it and then uses it as the first basis vector in an orthonormal basis. We'll use this to find circles around points on the sphere.
orthonormalBasis(x)
x |
- A vector of length 3 |
This function returns an orthonormal basis in the the form of a 3 x 3 matrix in which the first vector is parallel to v
anOrthonormalBasis = orthonormalBasis(c(1,1,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.