Fix dox for namespaces

This commit is contained in:
Chen-Pang He 2014-07-05 21:48:48 +08:00
parent f365380496
commit 8ee38d2db6
2 changed files with 5 additions and 3 deletions

View File

@ -255,13 +255,13 @@ void JacobiRotation<Scalar>::makeGivens(const Scalar& p, const Scalar& q, Scalar
* Implementation of MatrixBase methods * Implementation of MatrixBase methods
****************************************************************************************/ ****************************************************************************************/
namespace internal {
/** \jacobi_module /** \jacobi_module
* Applies the clock wise 2D rotation \a j to the set of 2D vectors of cordinates \a x and \a y: * Applies the clock wise 2D rotation \a j to the set of 2D vectors of cordinates \a x and \a y:
* \f$ \left ( \begin{array}{cc} x \\ y \end{array} \right ) = J \left ( \begin{array}{cc} x \\ y \end{array} \right ) \f$ * \f$ \left ( \begin{array}{cc} x \\ y \end{array} \right ) = J \left ( \begin{array}{cc} x \\ y \end{array} \right ) \f$
* *
* \sa MatrixBase::applyOnTheLeft(), MatrixBase::applyOnTheRight() * \sa MatrixBase::applyOnTheLeft(), MatrixBase::applyOnTheRight()
*/ */
namespace internal {
template<typename VectorX, typename VectorY, typename OtherScalar> template<typename VectorX, typename VectorY, typename OtherScalar>
void apply_rotation_in_the_plane(VectorX& _x, VectorY& _y, const JacobiRotation<OtherScalar>& j); void apply_rotation_in_the_plane(VectorX& _x, VectorY& _y, const JacobiRotation<OtherScalar>& j);
} }

View File

@ -9,6 +9,10 @@
#ifndef EIGEN_ITERSCALING_H #ifndef EIGEN_ITERSCALING_H
#define EIGEN_ITERSCALING_H #define EIGEN_ITERSCALING_H
namespace Eigen {
using std::abs;
/** /**
* \ingroup IterativeSolvers_Module * \ingroup IterativeSolvers_Module
* \brief iterative scaling algorithm to equilibrate rows and column norms in matrices * \brief iterative scaling algorithm to equilibrate rows and column norms in matrices
@ -41,8 +45,6 @@
* *
* \sa \ref IncompleteLUT * \sa \ref IncompleteLUT
*/ */
namespace Eigen {
using std::abs;
template<typename _MatrixType> template<typename _MatrixType>
class IterScaling class IterScaling
{ {