Rename someOrthogonal to unitOrthogonal. Fix a bug in it, with dyn-size vectors of size <=3.

Update doc and test to reflect that it always returns a unit vector.
This commit is contained in:
Benoit Jacob
2008-08-24 17:31:03 +00:00
parent aeca7a63f4
commit 251ecc0ab9
3 changed files with 21 additions and 14 deletions

View File

@@ -567,7 +567,7 @@ template<typename Derived> class MatrixBase
template<typename OtherDerived>
EvalType cross(const MatrixBase<OtherDerived>& other) const;
EvalType someOrthogonal(void) const;
EvalType unitOrthogonal(void) const;
#ifdef EIGEN_MATRIXBASE_PLUGIN
#include EIGEN_MATRIXBASE_PLUGIN