From 8ee38d2db69aa7245d4aa1c5cb6a177a866da20f Mon Sep 17 00:00:00 2001 From: Chen-Pang He Date: Sat, 5 Jul 2014 21:48:48 +0800 Subject: [PATCH] Fix dox for namespaces --- Eigen/src/Jacobi/Jacobi.h | 2 +- unsupported/Eigen/src/IterativeSolvers/Scaling.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Eigen/src/Jacobi/Jacobi.h b/Eigen/src/Jacobi/Jacobi.h index 956f72d57..da9fb53d0 100644 --- a/Eigen/src/Jacobi/Jacobi.h +++ b/Eigen/src/Jacobi/Jacobi.h @@ -255,13 +255,13 @@ void JacobiRotation::makeGivens(const Scalar& p, const Scalar& q, Scalar * Implementation of MatrixBase methods ****************************************************************************************/ +namespace internal { /** \jacobi_module * 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$ * * \sa MatrixBase::applyOnTheLeft(), MatrixBase::applyOnTheRight() */ -namespace internal { template void apply_rotation_in_the_plane(VectorX& _x, VectorY& _y, const JacobiRotation& j); } diff --git a/unsupported/Eigen/src/IterativeSolvers/Scaling.h b/unsupported/Eigen/src/IterativeSolvers/Scaling.h index 4fd439202..9189fddf1 100644 --- a/unsupported/Eigen/src/IterativeSolvers/Scaling.h +++ b/unsupported/Eigen/src/IterativeSolvers/Scaling.h @@ -9,6 +9,10 @@ #ifndef EIGEN_ITERSCALING_H #define EIGEN_ITERSCALING_H + +namespace Eigen { +using std::abs; + /** * \ingroup IterativeSolvers_Module * \brief iterative scaling algorithm to equilibrate rows and column norms in matrices @@ -41,8 +45,6 @@ * * \sa \ref IncompleteLUT */ -namespace Eigen { -using std::abs; template class IterScaling {