spelling + some krazy directives

This commit is contained in:
Gael Guennebaud
2008-08-28 21:44:56 +00:00
parent 80be1ea515
commit 7ea821d18e
24 changed files with 33 additions and 23 deletions

View File

@@ -322,7 +322,7 @@ inline Quaternion<Scalar>& Quaternion<Scalar>::setFromTwoVectors(const MatrixBas
template <typename Scalar>
inline Quaternion<Scalar> Quaternion<Scalar>::inverse() const
{
// FIXME should this funtion be called multiplicativeInverse and conjugate() be called inverse() or opposite() ??
// FIXME should this function be called multiplicativeInverse and conjugate() be called inverse() or opposite() ??
Scalar n2 = this->norm2();
if (n2 > 0)
return Quaternion(conjugate().coeffs() / n2);

View File

@@ -127,6 +127,13 @@ public:
inline QMatrix toQMatrix(void) const;
#endif
/** shortcut for m_matrix(row,col);
* \sa MatrixBase::operaror(int,int) const */
Scalar operator() (int row, int col) const { return m_matrix(row,col); }
/** shortcut for m_matrix(row,col);
* \sa MatrixBase::operaror(int,int) */
Scalar& operator() (int row, int col) { return m_matrix(row,col); }
/** \returns a read-only expression of the transformation matrix */
inline const MatrixType& matrix() const { return m_matrix; }
/** \returns a writable expression of the transformation matrix */