Navigation
| class OrthonormalBasis( object ) | Source |
|---|
Helper class to construct a orthonormal basis from (random) vectors
Attributes
- basis : 2darray
array of orthonormal vectors
Author Do Kester.
| OrthonormalBasis( ) |
|---|
Constructor.
| normalise( vec, reset=False ) |
|---|
from http://www.ecs.umass.edu/ece/ece313/Onlinehelp/gram.pdf
Parameters
- vec : array_like
vector to be orthonomalised to self.basis - reset : bool
start a new basis.
Return
- uvec : array_like
unit vector normal to the basis