mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Get rid of include directives inside namespace blocks (bug #339).
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_SKYLINEINPLACELU_H
|
||||
#define EIGEN_SKYLINEINPLACELU_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Skyline_Module
|
||||
*
|
||||
* \class SkylineInplaceLU
|
||||
@@ -360,4 +362,6 @@ bool SkylineInplaceLU<MatrixType>::solve(const MatrixBase<BDerived> &b, MatrixBa
|
||||
return true;
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_SKYLINELU_H
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#include "SkylineStorage.h"
|
||||
#include "SkylineMatrixBase.h"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Skyline_Module
|
||||
*
|
||||
* \class SkylineMatrix
|
||||
@@ -870,4 +872,6 @@ protected:
|
||||
const Index m_end;
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_SkylineMatrix_H
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
|
||||
#include "SkylineUtil.h"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Skyline_Module
|
||||
*
|
||||
* \class SkylineMatrixBase
|
||||
@@ -220,4 +222,6 @@ protected:
|
||||
bool m_isRValue;
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_SkylineMatrixBase_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_SKYLINEPRODUCT_H
|
||||
#define EIGEN_SKYLINEPRODUCT_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
template<typename Lhs, typename Rhs, int ProductMode>
|
||||
struct SkylineProductReturnType {
|
||||
typedef const typename internal::nested<Lhs, Rhs::RowsAtCompileTime>::type LhsNested;
|
||||
@@ -303,4 +305,6 @@ SkylineMatrixBase<Derived>::operator*(const MatrixBase<OtherDerived> &other) con
|
||||
return typename SkylineProductReturnType<Derived, OtherDerived>::Type(derived(), other.derived());
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_SKYLINEPRODUCT_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_SKYLINE_STORAGE_H
|
||||
#define EIGEN_SKYLINE_STORAGE_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** Stores a skyline set of values in three structures :
|
||||
* The diagonal elements
|
||||
* The upper elements
|
||||
@@ -267,4 +269,6 @@ public:
|
||||
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_COMPRESSED_STORAGE_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_SKYLINEUTIL_H
|
||||
#define EIGEN_SKYLINEUTIL_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
#ifdef NDEBUG
|
||||
#define EIGEN_DBG_SKYLINE(X)
|
||||
#else
|
||||
@@ -97,5 +99,6 @@ template<typename T> class eval<T,IsSkyline>
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_SKYLINEUTIL_H
|
||||
|
||||
Reference in New Issue
Block a user