add optimized cross3 function (code from Rohit Garg)

This commit is contained in:
Gael Guennebaud
2009-03-11 14:20:36 +00:00
parent 3298320007
commit b8f46090ff
4 changed files with 70 additions and 0 deletions

View File

@@ -621,6 +621,8 @@ template<typename Derived> class MatrixBase
template<typename OtherDerived>
PlainMatrixType cross(const MatrixBase<OtherDerived>& other) const;
template<typename OtherDerived>
PlainMatrixType cross3(const MatrixBase<OtherDerived>& other) const;
PlainMatrixType unitOrthogonal(void) const;
Matrix<Scalar,3,1> eulerAngles(int a0, int a1, int a2) const;
const ScalarMultipleReturnType operator*(const UniformScaling<Scalar>& s) const;