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

@@ -25,6 +25,8 @@
#ifndef EIGEN_DETERMINANT_H
#define EIGEN_DETERMINANT_H
namespace Eigen {
namespace internal {
template<typename Derived>
@@ -109,4 +111,6 @@ inline typename internal::traits<Derived>::Scalar MatrixBase<Derived>::determina
return internal::determinant_impl<typename internal::remove_all<Nested>::type>::run(derived());
}
} // end namespace Eigen
#endif // EIGEN_DETERMINANT_H

View File

@@ -25,6 +25,8 @@
#ifndef EIGEN_LU_H
#define EIGEN_LU_H
namespace Eigen {
/** \ingroup LU_Module
*
* \class FullPivLU
@@ -744,4 +746,6 @@ MatrixBase<Derived>::fullPivLu() const
return FullPivLU<PlainObject>(eval());
}
} // end namespace Eigen
#endif // EIGEN_LU_H

View File

@@ -25,6 +25,8 @@
#ifndef EIGEN_INVERSE_H
#define EIGEN_INVERSE_H
namespace Eigen {
namespace internal {
/**********************************
@@ -404,4 +406,6 @@ inline void MatrixBase<Derived>::computeInverseWithCheck(
computeInverseAndDetWithCheck(inverse,determinant,invertible,absDeterminantThreshold);
}
} // end namespace Eigen
#endif // EIGEN_INVERSE_H

View File

@@ -26,6 +26,8 @@
#ifndef EIGEN_PARTIALLU_H
#define EIGEN_PARTIALLU_H
namespace Eigen {
/** \ingroup LU_Module
*
* \class PartialPivLU
@@ -506,4 +508,6 @@ MatrixBase<Derived>::lu() const
}
#endif
} // end namespace Eigen
#endif // EIGEN_PARTIALLU_H

View File

@@ -35,6 +35,8 @@
#include "Eigen/src/Core/util/MKL_support.h"
namespace Eigen {
namespace internal {
/** \internal Specialization for the data types supported by MKL */
@@ -77,4 +79,6 @@ EIGEN_MKL_LU_PARTPIV(scomplex, MKL_Complex8, c)
} // end namespace internal
} // end namespace Eigen
#endif // EIGEN_PARTIALLU_LAPACK_H

View File

@@ -42,6 +42,8 @@
#ifndef EIGEN_INVERSE_SSE_H
#define EIGEN_INVERSE_SSE_H
namespace Eigen {
namespace internal {
template<typename MatrixType, typename ResultType>
@@ -335,6 +337,8 @@ struct compute_inverse_size4<Architecture::SSE, double, MatrixType, ResultType>
}
};
}
} // end namespace internal
} // end namespace Eigen
#endif // EIGEN_INVERSE_SSE_H