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:
@@ -97,8 +97,9 @@ namespace Eigen {
|
||||
* The following is a simple but complete example for how to use the BVH to accelerate the search for a closest red-blue point pair:
|
||||
* \include BVH_Example.cpp
|
||||
* Output: \verbinclude BVH_Example.out
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
//@{
|
||||
|
||||
#include "src/BVH/BVAlgorithms.h"
|
||||
@@ -106,6 +107,4 @@ namespace Eigen {
|
||||
|
||||
//@}
|
||||
|
||||
}
|
||||
|
||||
#endif // EIGEN_BVH_MODULE_H
|
||||
|
||||
@@ -86,23 +86,23 @@
|
||||
#ifdef EIGEN_FFTW_DEFAULT
|
||||
// FFTW: faster, GPL -- incompatible with Eigen in LGPL form, bigger code size
|
||||
# include <fftw3.h>
|
||||
# include "src/FFT/ei_fftw_impl.h"
|
||||
namespace Eigen {
|
||||
# include "src/FFT/ei_fftw_impl.h"
|
||||
//template <typename T> typedef struct internal::fftw_impl default_fft_impl; this does not work
|
||||
template <typename T> struct default_fft_impl : public internal::fftw_impl<T> {};
|
||||
}
|
||||
#elif defined EIGEN_MKL_DEFAULT
|
||||
// TODO
|
||||
// intel Math Kernel Library: fastest, commercial -- may be incompatible with Eigen in GPL form
|
||||
# include "src/FFT/ei_imklfft_impl.h"
|
||||
namespace Eigen {
|
||||
# include "src/FFT/ei_imklfft_impl.h"
|
||||
template <typename T> struct default_fft_impl : public internal::imklfft_impl {};
|
||||
}
|
||||
#else
|
||||
// internal::kissfft_impl: small, free, reasonably efficient default, derived from kissfft
|
||||
//
|
||||
# include "src/FFT/ei_kissfft_impl.h"
|
||||
namespace Eigen {
|
||||
# include "src/FFT/ei_kissfft_impl.h"
|
||||
template <typename T>
|
||||
struct default_fft_impl : public internal::kissfft_impl<T> {};
|
||||
}
|
||||
|
||||
@@ -27,8 +27,6 @@
|
||||
|
||||
#include <Eigen/Sparse>
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Unsupported_modules
|
||||
* \defgroup IterativeSolvers_Module Iterative solvers module
|
||||
* This module aims to provide various iterative linear and non linear solver algorithms.
|
||||
@@ -54,6 +52,4 @@ namespace Eigen {
|
||||
|
||||
//@}
|
||||
|
||||
}
|
||||
|
||||
#endif // EIGEN_ITERATIVE_SOLVERS_MODULE_H
|
||||
|
||||
@@ -17,10 +17,10 @@ namespace Eigen {
|
||||
* \endcode
|
||||
*/
|
||||
|
||||
#include "src/KroneckerProduct/KroneckerTensorProduct.h"
|
||||
|
||||
} // namespace Eigen
|
||||
|
||||
#include "src/KroneckerProduct/KroneckerTensorProduct.h"
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
#endif // EIGEN_KRONECKER_PRODUCT_MODULE_H
|
||||
|
||||
@@ -34,8 +34,6 @@
|
||||
#include <Eigen/LU>
|
||||
#include <Eigen/Eigenvalues>
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Unsupported_modules
|
||||
* \defgroup MatrixFunctions_Module Matrix functions module
|
||||
* \brief This module aims to provide various methods for the computation of
|
||||
@@ -393,7 +391,5 @@ Output: \verbinclude MatrixSquareRoot.out
|
||||
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
#endif // EIGEN_MATRIX_FUNCTIONS
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace Eigen {
|
||||
* \defgroup MoreVectorization More vectorization module
|
||||
*/
|
||||
|
||||
#include "src/MoreVectorization/MathFunctions.h"
|
||||
|
||||
}
|
||||
|
||||
#include "src/MoreVectorization/MathFunctions.h"
|
||||
|
||||
#endif // EIGEN_MOREVECTORIZATION_MODULE_H
|
||||
|
||||
@@ -32,8 +32,6 @@
|
||||
#include <Eigen/QR>
|
||||
#include <unsupported/Eigen/NumericalDiff>
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Unsupported_modules
|
||||
* \defgroup NonLinearOptimization_Module Non linear optimization module
|
||||
*
|
||||
@@ -147,8 +145,5 @@ namespace Eigen {
|
||||
#include "src/NonLinearOptimization/HybridNonLinearSolver.h"
|
||||
#include "src/NonLinearOptimization/LevenbergMarquardt.h"
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif // EIGEN_NONLINEAROPTIMIZATION_MODULE
|
||||
|
||||
@@ -59,12 +59,13 @@ namespace Eigen {
|
||||
* package.
|
||||
*
|
||||
*/
|
||||
}
|
||||
|
||||
//@{
|
||||
|
||||
#include "src/NumericalDiff/NumericalDiff.h"
|
||||
|
||||
//@}
|
||||
}
|
||||
|
||||
|
||||
#endif // EIGEN_NUMERICALDIFF_MODULE
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#undef EIGEN_HIDE_HEAVY_CODE
|
||||
#endif
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Unsupported_modules
|
||||
* \defgroup Polynomials_Module Polynomials module
|
||||
*
|
||||
@@ -129,8 +127,6 @@ namespace Eigen {
|
||||
Output: \verbinclude PolynomialSolver1.out
|
||||
*/
|
||||
|
||||
} // namespace Eigen
|
||||
|
||||
#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
|
||||
|
||||
#endif // EIGEN_POLYNOMIALS_MODULE_H
|
||||
|
||||
@@ -11,15 +11,13 @@
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Unsupported_modules
|
||||
* \defgroup Skyline_Module Skyline module
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
/** \ingroup Unsupported_modules
|
||||
* \defgroup Skyline_Module Skyline module
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include "src/Skyline/SkylineUtil.h"
|
||||
#include "src/Skyline/SkylineMatrixBase.h"
|
||||
@@ -28,8 +26,6 @@ namespace Eigen {
|
||||
#include "src/Skyline/SkylineInplaceLU.h"
|
||||
#include "src/Skyline/SkylineProduct.h"
|
||||
|
||||
} // namespace Eigen
|
||||
|
||||
#include "Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
#endif // EIGEN_SKYLINE_MODULE_H
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
#include <google/dense_hash_map>
|
||||
#endif
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Unsupported_modules
|
||||
* \defgroup SparseExtra_Module SparseExtra module
|
||||
*
|
||||
@@ -38,7 +36,6 @@ namespace Eigen {
|
||||
#include "src/SparseExtra/RandomSetter.h"
|
||||
|
||||
#include "src/SparseExtra/MarketIO.h"
|
||||
} // namespace Eigen
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <dirent.h>
|
||||
|
||||
@@ -37,16 +37,10 @@ namespace Eigen
|
||||
* #include <unsupported/Eigen/Splines>
|
||||
* \endcode
|
||||
*/
|
||||
//@{
|
||||
}
|
||||
|
||||
#include "src/Splines/SplineFwd.h"
|
||||
#include "src/Splines/Spline.h"
|
||||
#include "src/Splines/SplineFitting.h"
|
||||
|
||||
namespace Eigen
|
||||
{
|
||||
//@}
|
||||
}
|
||||
|
||||
#endif // EIGEN_SPLINES_MODULE_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_BVALGORITHMS_H
|
||||
#define EIGEN_BVALGORITHMS_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
@@ -301,4 +303,6 @@ typename Minimizer::Scalar BVMinimize(const BVH1 &tree1, const BVH2 &tree2, Mini
|
||||
return minimum;
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_BVALGORITHMS_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef KDBVH_H_INCLUDED
|
||||
#define KDBVH_H_INCLUDED
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
//internal pair class for the BVH--used instead of std::pair because of alignment
|
||||
@@ -230,4 +232,6 @@ private:
|
||||
ObjectList objects;
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif //KDBVH_H_INCLUDED
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
// License and a copy of the GNU General Public License along with
|
||||
// Eigen. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
// FFTW uses non-const arguments
|
||||
@@ -269,4 +271,6 @@ namespace internal {
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
/* vim: set filetype=cpp et sw=2 ts=2 ai: */
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
// License and a copy of the GNU General Public License along with
|
||||
// Eigen. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
// This FFT implementation was derived from kissfft http:sourceforge.net/projects/kissfft
|
||||
@@ -426,5 +428,6 @@ struct kissfft_impl
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
/* vim: set filetype=cpp et sw=2 ts=2 ai: */
|
||||
} // end namespace Eigen
|
||||
|
||||
/* vim: set filetype=cpp et sw=2 ts=2 ai: */
|
||||
|
||||
@@ -50,6 +50,8 @@
|
||||
|
||||
#include <Eigen/Core>
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
/** \ingroup IterativeSolvers_Module
|
||||
@@ -195,4 +197,6 @@ void constrained_cg(const TMatrix& A, const CMatrix& C, VectorX& x,
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_CONSTRAINEDCG_H
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#ifndef EIGEN_GMRES_H
|
||||
#define EIGEN_GMRES_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
/**
|
||||
@@ -385,6 +387,8 @@ struct solve_retval<GMRES<_MatrixType, _Preconditioner>, Rhs>
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_GMRES_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_INCOMPLETE_LU_H
|
||||
#define EIGEN_INCOMPLETE_LU_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
template <typename _Scalar>
|
||||
class IncompleteLU
|
||||
{
|
||||
@@ -119,6 +121,8 @@ struct solve_retval<IncompleteLU<_MatrixType>, Rhs>
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_INCOMPLETE_LU_H
|
||||
|
||||
@@ -75,6 +75,8 @@
|
||||
#ifndef EIGEN_ITERATION_CONTROLLER_H
|
||||
#define EIGEN_ITERATION_CONTROLLER_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup IterativeSolvers_Module
|
||||
* \class IterationController
|
||||
*
|
||||
@@ -163,4 +165,6 @@ class IterationController
|
||||
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_ITERATION_CONTROLLER_H
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#define KRONECKER_TENSOR_PRODUCT_H
|
||||
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
/*!
|
||||
@@ -165,4 +167,6 @@ void kroneckerProduct(const SparseMatrixBase<A>& a, const SparseMatrixBase<B>& b
|
||||
internal::kroneckerProduct_sparse(a.derived(), b.derived(), c.derived());
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // KRONECKER_TENSOR_PRODUCT_H
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
#include "StemFunction.h"
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
#if defined(_MSC_VER) || defined(__FreeBSD__)
|
||||
template <typename Scalar> Scalar log2(Scalar v) { using std::log; return log(v)/log(Scalar(2)); }
|
||||
#endif
|
||||
@@ -462,4 +464,6 @@ const MatrixExponentialReturnValue<Derived> MatrixBase<Derived>::exp() const
|
||||
return MatrixExponentialReturnValue<Derived>(derived());
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_MATRIX_EXPONENTIAL
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
#include "MatrixFunctionAtomic.h"
|
||||
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup MatrixFunctions_Module
|
||||
* \brief Class for computing matrix functions.
|
||||
* \tparam MatrixType type of the argument of the matrix function,
|
||||
@@ -598,4 +600,6 @@ const MatrixFunctionReturnValue<Derived> MatrixBase<Derived>::cosh() const
|
||||
return MatrixFunctionReturnValue<Derived>(derived(), StdStemFunctions<ComplexScalar>::cosh);
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_MATRIX_FUNCTION
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_MATRIX_FUNCTION_ATOMIC
|
||||
#define EIGEN_MATRIX_FUNCTION_ATOMIC
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup MatrixFunctions_Module
|
||||
* \class MatrixFunctionAtomic
|
||||
* \brief Helper class for computing matrix functions of atomic matrices.
|
||||
@@ -139,4 +141,6 @@ bool MatrixFunctionAtomic<MatrixType>::taylorConverged(Index s, const MatrixType
|
||||
return false;
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_MATRIX_FUNCTION_ATOMIC
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#define M_PI 3.141592653589793238462643383279503L
|
||||
#endif
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup MatrixFunctions_Module
|
||||
* \class MatrixLogarithmAtomic
|
||||
* \brief Helper class for computing matrix logarithm of atomic matrices.
|
||||
@@ -503,4 +505,6 @@ const MatrixLogarithmReturnValue<Derived> MatrixBase<Derived>::log() const
|
||||
return MatrixLogarithmReturnValue<Derived>(derived());
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_MATRIX_LOGARITHM
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_MATRIX_SQUARE_ROOT
|
||||
#define EIGEN_MATRIX_SQUARE_ROOT
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup MatrixFunctions_Module
|
||||
* \brief Class for computing matrix square roots of upper quasi-triangular matrices.
|
||||
* \tparam MatrixType type of the argument of the matrix square root,
|
||||
@@ -492,4 +494,6 @@ const MatrixSquareRootReturnValue<Derived> MatrixBase<Derived>::sqrt() const
|
||||
return MatrixSquareRootReturnValue<Derived>(derived());
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_MATRIX_FUNCTION
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_STEM_FUNCTION
|
||||
#define EIGEN_STEM_FUNCTION
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup MatrixFunctions_Module
|
||||
* \brief Stem functions corresponding to standard mathematical functions.
|
||||
*/
|
||||
@@ -113,4 +115,6 @@ class StdStemFunctions
|
||||
|
||||
}; // end of class StdStemFunctions
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_STEM_FUNCTION
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#ifndef EIGEN_MOREVECTORIZATION_MATHFUNCTIONS_H
|
||||
#define EIGEN_MOREVECTORIZATION_MATHFUNCTIONS_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
/** \internal \returns the arcsin of \a a (coeff-wise) */
|
||||
@@ -99,8 +101,10 @@ template<> EIGEN_DONT_INLINE Packet4f pasin(Packet4f x)
|
||||
return _mm_xor_ps(z, sign_bit);
|
||||
}
|
||||
|
||||
#endif // EIGEN_VECTORIZE_SSE
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
#endif
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_MOREVECTORIZATION_MATHFUNCTIONS_H
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#ifndef EIGEN_HYBRIDNONLINEARSOLVER_H
|
||||
#define EIGEN_HYBRIDNONLINEARSOLVER_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace HybridNonLinearSolverSpace {
|
||||
enum Status {
|
||||
Running = -1,
|
||||
@@ -602,6 +604,8 @@ HybridNonLinearSolver<FunctorType,Scalar>::solveNumericalDiff(FVectorType &x)
|
||||
return status;
|
||||
}
|
||||
|
||||
//vim: ai ts=4 sts=4 et sw=4
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_HYBRIDNONLINEARSOLVER_H
|
||||
|
||||
//vim: ai ts=4 sts=4 et sw=4
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#ifndef EIGEN_LEVENBERGMARQUARDT__H
|
||||
#define EIGEN_LEVENBERGMARQUARDT__H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace LevenbergMarquardtSpace {
|
||||
enum Status {
|
||||
@@ -651,6 +652,8 @@ LevenbergMarquardt<FunctorType,Scalar>::lmdif1(
|
||||
return info;
|
||||
}
|
||||
|
||||
//vim: ai ts=4 sts=4 et sw=4
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_LEVENBERGMARQUARDT__H
|
||||
|
||||
//vim: ai ts=4 sts=4 et sw=4
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#define chkder_log10e 0.43429448190325182765
|
||||
#define chkder_factor 100.
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
template<typename Scalar>
|
||||
@@ -58,3 +60,4 @@ void chkder(
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
template <typename Scalar>
|
||||
@@ -63,3 +65,5 @@ void covar(
|
||||
}
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
template <typename Scalar>
|
||||
@@ -98,3 +100,5 @@ algo_end:
|
||||
}
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
template<typename FunctorType, typename Scalar>
|
||||
@@ -70,3 +72,5 @@ DenseIndex fdjac1(
|
||||
}
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
template <typename Scalar>
|
||||
@@ -288,3 +290,5 @@ void lmpar2(
|
||||
}
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
// TODO : once qrsolv2 is removed, use ColPivHouseholderQR or PermutationMatrix instead of ipvt
|
||||
@@ -85,3 +87,5 @@ void qrsolv(
|
||||
}
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
// TODO : move this to GivensQR once there's such a thing in Eigen
|
||||
@@ -24,3 +26,5 @@ void r1mpyq(DenseIndex m, DenseIndex n, Scalar *a, const std::vector<JacobiRotat
|
||||
}
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
template <typename Scalar>
|
||||
@@ -93,3 +95,5 @@ void r1updt(
|
||||
}
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
template <typename Scalar>
|
||||
@@ -44,3 +46,4 @@ void rwupdt(
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#ifndef EIGEN_NUMERICAL_DIFF_H
|
||||
#define EIGEN_NUMERICAL_DIFF_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
enum NumericalDiffMode {
|
||||
Forward,
|
||||
Central
|
||||
@@ -134,6 +136,8 @@ private:
|
||||
NumericalDiff& operator=(const NumericalDiff&);
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
//vim: ai ts=4 sts=4 et sw=4
|
||||
#endif // EIGEN_NUMERICAL_DIFF_H
|
||||
|
||||
|
||||
@@ -29,10 +29,12 @@
|
||||
// * Eigen/Core
|
||||
// * Eigen/src/PolynomialSolver.h
|
||||
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal {
|
||||
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
|
||||
template <typename T>
|
||||
T radix(){ return 2; }
|
||||
|
||||
@@ -283,4 +285,6 @@ void companion<_Scalar,_Deg>::balance()
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_COMPANION_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_POLYNOMIAL_SOLVER_H
|
||||
#define EIGEN_POLYNOMIAL_SOLVER_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Polynomials_Module
|
||||
* \class PolynomialSolverBase.
|
||||
*
|
||||
@@ -394,4 +396,6 @@ class PolynomialSolver<_Scalar,1> : public PolynomialSolverBase<_Scalar,1>
|
||||
using PS_Base::m_roots;
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_POLYNOMIAL_SOLVER_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_POLYNOMIAL_UTILS_H
|
||||
#define EIGEN_POLYNOMIAL_UTILS_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \ingroup Polynomials_Module
|
||||
* \returns the evaluation of the polynomial at x using Horner algorithm.
|
||||
*
|
||||
@@ -149,5 +151,6 @@ void roots_to_monicPolynomial( const RootVector& rv, Polynomial& poly )
|
||||
}
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_POLYNOMIAL_UTILS_H
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#ifndef EIGEN_SPARSE_BLOCKFORDYNAMICMATRIX_H
|
||||
#define EIGEN_SPARSE_BLOCKFORDYNAMICMATRIX_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/***************************************************************************
|
||||
* specialisation for DynamicSparseMatrix
|
||||
@@ -123,5 +124,6 @@ class SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options, _Index>, Size>
|
||||
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_SPARSE_BLOCKFORDYNAMICMATRIX_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_DYNAMIC_SPARSEMATRIX_H
|
||||
#define EIGEN_DYNAMIC_SPARSEMATRIX_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** \deprecated use a SparseMatrix in an uncompressed mode
|
||||
*
|
||||
* \class DynamicSparseMatrix
|
||||
@@ -365,4 +367,6 @@ class DynamicSparseMatrix<Scalar,_Options,_Index>::ReverseInnerIterator : public
|
||||
const Index m_outer;
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_DYNAMIC_SPARSEMATRIX_H
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
|
||||
#ifndef EIGEN_SPARSE_MARKET_IO_H
|
||||
#define EIGEN_SPARSE_MARKET_IO_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
namespace internal
|
||||
{
|
||||
template <typename Scalar>
|
||||
@@ -274,4 +277,7 @@ bool saveMarketVector (const VectorType& vec, const std::string& filename)
|
||||
out.close();
|
||||
return true;
|
||||
}
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_SPARSE_MARKET_IO_H
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#ifndef EIGEN_RANDOMSETTER_H
|
||||
#define EIGEN_RANDOMSETTER_H
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
/** Represents a std::map
|
||||
*
|
||||
* \see RandomSetter
|
||||
@@ -335,4 +337,6 @@ class RandomSetter
|
||||
unsigned char m_keyBitsOffset;
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
#endif // EIGEN_RANDOMSETTER_H
|
||||
|
||||
@@ -552,7 +552,6 @@ WARN_LOGFILE =
|
||||
# with spaces.
|
||||
|
||||
INPUT = "${Eigen_SOURCE_DIR}/unsupported/Eigen" \
|
||||
"${Eigen_SOURCE_DIR}/unsupported/Eigen/src/Splines" \
|
||||
"${Eigen_SOURCE_DIR}/unsupported/doc"
|
||||
|
||||
# This tag can be used to specify the character encoding of the source files
|
||||
@@ -576,13 +575,14 @@ FILE_PATTERNS = *
|
||||
# should be searched for input files as well. Possible values are YES and NO.
|
||||
# If left blank NO is used.
|
||||
|
||||
RECURSIVE = NO
|
||||
RECURSIVE = YES
|
||||
|
||||
# The EXCLUDE tag can be used to specify files and/or directories that should
|
||||
# excluded from the INPUT source files. This way you can easily exclude a
|
||||
# subdirectory from a directory tree whose root is specified with the INPUT tag.
|
||||
|
||||
EXCLUDE =
|
||||
EXCLUDE = "${Eigen_SOURCE_DIR}/unsupported/doc/examples" \
|
||||
"${Eigen_SOURCE_DIR}/unsupported/doc/snippets"
|
||||
|
||||
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
|
||||
# directories that are symbolic links (a Unix filesystem feature) are excluded
|
||||
|
||||
Reference in New Issue
Block a user