orthonormalBasis: Find an orthonormal basis in dimension 3

Description Usage Arguments Value Examples

View source: R/TrajectoryGeometry.R

Description

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.

Usage

1

Arguments

x

- A vector of length 3

Value

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

Examples

1
anOrthonormalBasis = orthonormalBasis(c(1,1,1))

AnnaLaddach/TrajectoryGeometry documentation built on Jan. 28, 2021, 10:41 a.m.