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 3
20 #define MLPACK_VERSION_MINOR 4
21 #define MLPACK_VERSION_PATCH 3
22 
23 // The name of the version (for use by --version).
24 namespace mlpack {
25 namespace util {
26 
31 std::string GetVersion();
32 
33 } // namespace util
34 } // namespace mlpack
35 
36 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
std::string GetVersion()
This will return either "mlpack x.y.z" or "mlpack master-XXXXXXX" depending on whether or not this is...