mlpack  master
version.hpp
Go to the documentation of this file.
1 
12 #ifndef MLPACK_CORE_UTIL_VERSION_HPP
13 #define MLPACK_CORE_UTIL_VERSION_HPP
14 
15 #include <string>
16 
17 // The version of mlpack. If this is a git repository, this will be a version
18 // with higher number than the most recent release.
19 #define MLPACK_VERSION_MAJOR 2
20 #define MLPACK_VERSION_MINOR 0
21 #define MLPACK_VERSION_PATCH "x"
22 
23 // Reverse compatibility; these macros will be removed in future versions of
24 // mlpack (3.0.0 and newer)!
25 #define __MLPACK_VERSION_MAJOR 2
26 #define __MLPACK_VERSION_MINOR 0
27 #define __MLPACK_VERSION_PATCH "x"
28 
29 // The name of the version (for use by --version).
30 namespace mlpack {
31 namespace util {
32 
38 
39 } // namespace util
40 } // namespace mlpack
41 
42 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: binarize.hpp:18
std::string GetVersion()
This will return either "mlpack x.y.z" or "mlpack master-XXXXXXX" depending on whether or not this is...
test cpp RESULT_VARIABLE MEX_RESULT_TRASH OUTPUT_VARIABLE MEX_OUTPUT ERROR_VARIABLE MEX_ERROR_TRASH string(REGEX MATCH"Warning: You are using"MEX_WARNING"${MEX_OUTPUT}") if(MEX_WARNING) string(REGEX REPLACE".*using [a-zA-Z]* version \"([0-9.]*)[^\"]*\".*""\\1"OTHER_COMPILER_VERSION"$
Definition: CMakeLists.txt:18