Compiler OptionsΒΆ
The following options should be declared before including the StatsLib header files.
For inline-only functionality (i.e., no
constexpr
specifiers):
#define STATS_GO_INLINE
OpenMP functionality is enabled by default if the
_OPENMP
macro is detected (e.g., by invoking-fopenmp
with GCC or Clang). To explicitly enable OpenMP features use:
#define STATS_USE_OPENMP
To disable OpenMP functionality:
#define STATS_DONT_USE_OPENMP
To use StatsLib with Armadillo, Blaze or Eigen:
#define STATS_ENABLE_ARMA_WRAPPERS
#define STATS_ENABLE_BLAZE_WRAPPERS
#define STATS_ENABLE_EIGEN_WRAPPERS
To enable wrappers for
std::vector
:
#define STATS_ENABLE_STDVEC_WRAPPERS
To specify a random engine type (
stats::rand_engine_t
) to something other than the default ofstd::mt19937_64
:
#define STATS_RNG_ENGINE_TYPE <your-engine-type>