Go to the documentation of this file.
13 #ifndef __MLPACK_PREREQS_HPP
14 #define __MLPACK_PREREQS_HPP
18 #pragma message "Armadillo was included before mlpack; this can sometimes cause\
19 problems. It should only be necessary to include <mlpack/core.hpp> and not \
35 #define _USE_MATH_DEFINES
39 #include <boost/math/special_functions/gamma.hpp>
43 #define M_PI 3.141592653589793238462643383279
48 #if defined(__GNUG__) && !defined(DEBUG)
50 #define force_inline __attribute__((always_inline))
51 #elif defined(_MSC_VER) && !defined(DEBUG)
53 #define force_inline __forceinline
60 #include <boost/serialization/serialization.hpp>
61 #include <boost/serialization/vector.hpp>
62 #include <boost/serialization/map.hpp>
63 #if BOOST_VERSION < 105500 // Old versions don't have unordered_map support.
66 #include <boost/serialization/unordered_map.hpp>
76 #include <mlpack/core/arma_extend/arma_extend.hpp>
86 #pragma warning(disable : 4519)