Go to the documentation of this file.
11 #ifndef MLPACK_PREREQS_HPP
12 #define MLPACK_PREREQS_HPP
15 #define _USE_MATH_DEFINES
20 #pragma message "Armadillo was included before mlpack; this can sometimes cause\
21 problems. It should only be necessary to include <mlpack/core.hpp> and not \
39 #define _USE_MATH_DEFINES
43 #include <boost/math/special_functions/gamma.hpp>
47 #define M_PI 3.141592653589793238462643383279
52 #if defined(__GNUG__) && !defined(DEBUG)
54 #define force_inline __attribute__((always_inline))
55 #elif defined(_MSC_VER) && !defined(DEBUG)
57 #define force_inline __forceinline
64 #include <boost/serialization/serialization.hpp>
65 #include <boost/serialization/vector.hpp>
66 #include <boost/serialization/map.hpp>
69 #include "mlpack/core/boost_backport/boost_backport.hpp"
79 #include <mlpack/core/arma_extend/arma_extend.hpp>
95 #pragma warning(disable : 4519)
96 #define ARMA_USE_CXX11