add a geometry unit test and fix a couple of typo in Quaternion.h

This commit is contained in:
Gael Guennebaud
2008-06-03 07:32:12 +00:00
parent 8de4d92b70
commit a9cf229e15
6 changed files with 114 additions and 32 deletions

View File

@@ -555,10 +555,15 @@ template<typename Derived> class MatrixBase : public ArrayBase<Derived>
/////////// QR module ///////////
const QR<typename ei_eval<Derived>::type> qr() const;
EigenvaluesReturnType eigenvalues() const;
RealScalar matrixNorm() const;
/////////// Geometry module ///////////
template<typename OtherDerived>
const Cross<Derived,OtherDerived> cross(const MatrixBase<OtherDerived>& other) const;
};
#endif // EIGEN_MATRIXBASE_H

View File

@@ -51,6 +51,8 @@ template<int Direction, typename UnaryOp, typename MatrixType> class PartialRedu
template<typename MatrixType, unsigned int Mode> class Part;
template<typename MatrixType, unsigned int Mode> class Extract;
template<typename Derived, bool HasArrayFlag = int(ei_traits<Derived>::Flags) & ArrayBit> class ArrayBase {};
template<typename Lhs, typename Rhs> class Cross;
template<typename Scalar> class Quaternion;
template<typename Scalar> struct ei_scalar_sum_op;