Get rid of include directives inside namespace blocks (bug #339).

This commit is contained in:
Jitse Niesen
2012-04-15 11:06:28 +01:00
parent 84c93b048e
commit 3c412183b2
280 changed files with 1006 additions and 179 deletions

View File

@@ -30,6 +30,8 @@
#include "./EigenvaluesCommon.h"
#include "./ComplexSchur.h"
namespace Eigen {
/** \eigenvalues_module \ingroup Eigenvalues_Module
*
*
@@ -328,5 +330,6 @@ void ComplexEigenSolver<MatrixType>::sortEigenvalues(bool computeEigenvectors)
}
}
} // end namespace Eigen
#endif // EIGEN_COMPLEX_EIGEN_SOLVER_H

View File

@@ -30,6 +30,8 @@
#include "./EigenvaluesCommon.h"
#include "./HessenbergDecomposition.h"
namespace Eigen {
namespace internal {
template<typename MatrixType, bool IsComplex> struct complex_schur_reduce_to_hessenberg;
}
@@ -405,4 +407,6 @@ void ComplexSchur<MatrixType>::reduceToTriangularForm(bool computeU)
m_matUisUptodate = computeU;
}
} // end namespace Eigen
#endif // EIGEN_COMPLEX_SCHUR_H

View File

@@ -35,6 +35,8 @@
#include "Eigen/src/Core/util/MKL_support.h"
namespace Eigen {
/** \internal Specialization for the data types supported by MKL */
#define EIGEN_MKL_SCHUR_COMPLEX(EIGTYPE, MKLTYPE, MKLPREFIX, MKLPREFIX_U, EIGCOLROW, MKLCOLROW) \
@@ -87,4 +89,6 @@ EIGEN_MKL_SCHUR_COMPLEX(scomplex, MKL_Complex8, c, C, ColMajor, LAPACK_COL_MAJO
EIGEN_MKL_SCHUR_COMPLEX(dcomplex, MKL_Complex16, z, Z, RowMajor, LAPACK_ROW_MAJOR)
EIGEN_MKL_SCHUR_COMPLEX(scomplex, MKL_Complex8, c, C, RowMajor, LAPACK_ROW_MAJOR)
} // end namespace Eigen
#endif // EIGEN_COMPLEX_SCHUR_MKL_H

View File

@@ -29,6 +29,8 @@
#include "./EigenvaluesCommon.h"
#include "./RealSchur.h"
namespace Eigen {
/** \eigenvalues_module \ingroup Eigenvalues_Module
*
*
@@ -588,4 +590,6 @@ void EigenSolver<MatrixType>::doComputeEigenvectors()
}
}
} // end namespace Eigen
#endif // EIGEN_EIGENSOLVER_H

View File

@@ -29,6 +29,8 @@
#include "./EigenvaluesCommon.h"
#include "./Tridiagonalization.h"
namespace Eigen {
/** \eigenvalues_module \ingroup Eigenvalues_Module
*
*
@@ -236,4 +238,6 @@ compute(const MatrixType& matA, const MatrixType& matB, int options)
return *this;
}
} // end namespace Eigen
#endif // EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H

View File

@@ -26,6 +26,8 @@
#ifndef EIGEN_HESSENBERGDECOMPOSITION_H
#define EIGEN_HESSENBERGDECOMPOSITION_H
namespace Eigen {
namespace internal {
template<typename MatrixType> struct HessenbergDecompositionMatrixHReturnType;
@@ -379,6 +381,8 @@ template<typename MatrixType> struct HessenbergDecompositionMatrixHReturnType
const HessenbergDecomposition<MatrixType>& m_hess;
};
}
} // end namespace internal
} // end namespace Eigen
#endif // EIGEN_HESSENBERGDECOMPOSITION_H

View File

@@ -26,6 +26,8 @@
#ifndef EIGEN_MATRIXBASEEIGENVALUES_H
#define EIGEN_MATRIXBASEEIGENVALUES_H
namespace Eigen {
namespace internal {
template<typename Derived, bool IsComplex>
@@ -167,4 +169,6 @@ SelfAdjointView<MatrixType, UpLo>::operatorNorm() const
return eigenvalues().cwiseAbs().maxCoeff();
}
} // end namespace Eigen
#endif

View File

@@ -29,6 +29,8 @@
#include "./EigenvaluesCommon.h"
#include "./HessenbergDecomposition.h"
namespace Eigen {
/** \eigenvalues_module \ingroup Eigenvalues_Module
*
*
@@ -471,4 +473,6 @@ inline void RealSchur<MatrixType>::performFrancisQRStep(Index il, Index im, Inde
}
}
} // end namespace Eigen
#endif // EIGEN_REAL_SCHUR_H

View File

@@ -35,6 +35,8 @@
#include "Eigen/src/Core/util/MKL_support.h"
namespace Eigen {
/** \internal Specialization for the data types supported by MKL */
#define EIGEN_MKL_SCHUR_REAL(EIGTYPE, MKLTYPE, MKLPREFIX, MKLPREFIX_U, EIGCOLROW, MKLCOLROW) \
@@ -76,4 +78,6 @@ EIGEN_MKL_SCHUR_REAL(float, float, s, S, ColMajor, LAPACK_COL_MAJOR)
EIGEN_MKL_SCHUR_REAL(double, double, d, D, RowMajor, LAPACK_ROW_MAJOR)
EIGEN_MKL_SCHUR_REAL(float, float, s, S, RowMajor, LAPACK_ROW_MAJOR)
} // end namespace Eigen
#endif // EIGEN_REAL_SCHUR_MKL_H

View File

@@ -29,6 +29,8 @@
#include "./EigenvaluesCommon.h"
#include "./Tridiagonalization.h"
namespace Eigen {
template<typename _MatrixType>
class GeneralizedSelfAdjointEigenSolver;
@@ -795,6 +797,9 @@ static void tridiagonal_qr_step(RealScalar* diag, RealScalar* subdiag, Index sta
}
}
}
} // end namespace internal
} // end namespace Eigen
#endif // EIGEN_SELFADJOINTEIGENSOLVER_H

View File

@@ -35,6 +35,8 @@
#include "Eigen/src/Core/util/MKL_support.h"
namespace Eigen {
/** \internal Specialization for the data types supported by MKL */
#define EIGEN_MKL_EIG_SELFADJ(EIGTYPE, MKLTYPE, MKLRTYPE, MKLNAME, EIGCOLROW, MKLCOLROW ) \
@@ -85,5 +87,6 @@ EIGEN_MKL_EIG_SELFADJ(float, float, float, ssyev, RowMajor, LAPACK_R
EIGEN_MKL_EIG_SELFADJ(dcomplex, MKL_Complex16, double, zheev, RowMajor, LAPACK_ROW_MAJOR)
EIGEN_MKL_EIG_SELFADJ(scomplex, MKL_Complex8, float, cheev, RowMajor, LAPACK_ROW_MAJOR)
} // end namespace Eigen
#endif // EIGEN_SAEIGENSOLVER_H

View File

@@ -26,6 +26,8 @@
#ifndef EIGEN_TRIDIAGONALIZATION_H
#define EIGEN_TRIDIAGONALIZATION_H
namespace Eigen {
namespace internal {
template<typename MatrixType> struct TridiagonalizationMatrixTReturnType;
@@ -565,4 +567,6 @@ template<typename MatrixType> struct TridiagonalizationMatrixTReturnType
} // end namespace internal
} // end namespace Eigen
#endif // EIGEN_TRIDIAGONALIZATION_H