core.hpp
Go to the documentation of this file.
1 
12 #ifndef MLPACK_CORE_HPP
13 #define MLPACK_CORE_HPP
14 
246 // First, include all of the prerequisites.
247 #include <mlpack/prereqs.hpp>
248 
249 // Now the core mlpack classes.
251 #include <mlpack/core/util/log.hpp>
252 #include <mlpack/core/util/cli.hpp>
254 #include <mlpack/core/data/load.hpp>
255 #include <mlpack/core/data/save.hpp>
269 
270 // mlpack::backtrace only for linux
271 #ifdef HAS_BFD_DL
273 #endif
274 
275 // Include kernel traits.
287 
288 // Use OpenMP if compiled with -DHAS_OPENMP.
289 #ifdef HAS_OPENMP
290  #include <omp.h>
291 #endif
292 
293 // Use Armadillo's C++ version detection.
294 #ifdef ARMA_USE_CXX11
295  #define MLPACK_USE_CX11
296 #endif
297 
298 #endif
The core includes that mlpack expects; standard C++ includes and Armadillo.
Miscellaneous math clamping routines.
Miscellaneous math random-related routines.
Definition of the Range class, which represents a simple range with a lower and upper bound...