diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2012-04-15 11:06:28 +0100 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2012-04-15 11:06:28 +0100 |
commit | 3c412183b2d4a131239275f440d15677cc5649b0 (patch) | |
tree | 42784a65d3ad0cc4fb912032ecdf9059aad5eb7a /Eigen/src/QR | |
parent | 84c93b048ecab7c22291503e68c47b6e3264fbb0 (diff) |
Get rid of include directives inside namespace blocks (bug #339).
Diffstat (limited to 'Eigen/src/QR')
-rw-r--r-- | Eigen/src/QR/ColPivHouseholderQR.h | 3 | ||||
-rw-r--r-- | Eigen/src/QR/ColPivHouseholderQR_MKL.h | 4 | ||||
-rw-r--r-- | Eigen/src/QR/FullPivHouseholderQR.h | 4 | ||||
-rw-r--r-- | Eigen/src/QR/HouseholderQR.h | 3 | ||||
-rw-r--r-- | Eigen/src/QR/HouseholderQR_MKL.h | 4 |
5 files changed, 18 insertions, 0 deletions
diff --git a/Eigen/src/QR/ColPivHouseholderQR.h b/Eigen/src/QR/ColPivHouseholderQR.h index f04c6038d..9550b6bf6 100644 --- a/Eigen/src/QR/ColPivHouseholderQR.h +++ b/Eigen/src/QR/ColPivHouseholderQR.h @@ -26,6 +26,8 @@ #ifndef EIGEN_COLPIVOTINGHOUSEHOLDERQR_H #define EIGEN_COLPIVOTINGHOUSEHOLDERQR_H +namespace Eigen { + /** \ingroup QR_Module * * \class ColPivHouseholderQR @@ -528,5 +530,6 @@ MatrixBase<Derived>::colPivHouseholderQr() const return ColPivHouseholderQR<PlainObject>(eval()); } +} // end namespace Eigen #endif // EIGEN_COLPIVOTINGHOUSEHOLDERQR_H diff --git a/Eigen/src/QR/ColPivHouseholderQR_MKL.h b/Eigen/src/QR/ColPivHouseholderQR_MKL.h index c50ae24dd..645f309eb 100644 --- a/Eigen/src/QR/ColPivHouseholderQR_MKL.h +++ b/Eigen/src/QR/ColPivHouseholderQR_MKL.h @@ -36,6 +36,8 @@ #include "Eigen/src/Core/util/MKL_support.h" +namespace Eigen { + /** \internal Specialization for the data types supported by MKL */ #define EIGEN_MKL_QR_COLPIV(EIGTYPE, MKLTYPE, MKLPREFIX, EIGCOLROW, MKLCOLROW) \ @@ -91,4 +93,6 @@ EIGEN_MKL_QR_COLPIV(float, float, s, RowMajor, LAPACK_ROW_MAJOR) EIGEN_MKL_QR_COLPIV(dcomplex, MKL_Complex16, z, RowMajor, LAPACK_ROW_MAJOR) EIGEN_MKL_QR_COLPIV(scomplex, MKL_Complex8, c, RowMajor, LAPACK_ROW_MAJOR) +} // end namespace Eigen + #endif // EIGEN_COLPIVOTINGHOUSEHOLDERQR_MKL_H diff --git a/Eigen/src/QR/FullPivHouseholderQR.h b/Eigen/src/QR/FullPivHouseholderQR.h index 1d3d6d04e..6c4bc0abf 100644 --- a/Eigen/src/QR/FullPivHouseholderQR.h +++ b/Eigen/src/QR/FullPivHouseholderQR.h @@ -26,6 +26,8 @@ #ifndef EIGEN_FULLPIVOTINGHOUSEHOLDERQR_H #define EIGEN_FULLPIVOTINGHOUSEHOLDERQR_H +namespace Eigen { + namespace internal { template<typename MatrixType> struct FullPivHouseholderQRMatrixQReturnType; @@ -602,4 +604,6 @@ MatrixBase<Derived>::fullPivHouseholderQr() const return FullPivHouseholderQR<PlainObject>(eval()); } +} // end namespace Eigen + #endif // EIGEN_FULLPIVOTINGHOUSEHOLDERQR_H diff --git a/Eigen/src/QR/HouseholderQR.h b/Eigen/src/QR/HouseholderQR.h index 9ee96de26..59f6fcaa2 100644 --- a/Eigen/src/QR/HouseholderQR.h +++ b/Eigen/src/QR/HouseholderQR.h @@ -27,6 +27,8 @@ #ifndef EIGEN_QR_H #define EIGEN_QR_H +namespace Eigen { + /** \ingroup QR_Module * * @@ -351,5 +353,6 @@ MatrixBase<Derived>::householderQr() const return HouseholderQR<PlainObject>(eval()); } +} // end namespace Eigen #endif // EIGEN_QR_H diff --git a/Eigen/src/QR/HouseholderQR_MKL.h b/Eigen/src/QR/HouseholderQR_MKL.h index bbafa10d6..5313de604 100644 --- a/Eigen/src/QR/HouseholderQR_MKL.h +++ b/Eigen/src/QR/HouseholderQR_MKL.h @@ -36,6 +36,8 @@ #include "Eigen/src/Core/util/MKL_support.h" +namespace Eigen { + namespace internal { /** \internal Specialization for the data types supported by MKL */ @@ -62,4 +64,6 @@ EIGEN_MKL_QR_NOPIV(scomplex, MKL_Complex8, c) } // end namespace internal +} // end namespace Eigen + #endif // EIGEN_QR_MKL_H |