version.hpp

Go to the documentation of this file.
00001 // Copyright (C) 2010 NICTA and the authors listed below
00002 // http://nicta.com.au
00003 // 
00004 // Authors:
00005 // - Conrad Sanderson (conradsand at ieee dot org)
00006 // 
00007 // This file is part of the Armadillo C++ library.
00008 // It is provided without any warranty of fitness
00009 // for any purpose. You can redistribute this file
00010 // and/or modify it under the terms of the GNU
00011 // Lesser General Public License (LGPL) as published
00012 // by the Free Software Foundation, either version 3
00013 // of the License or (at your option) any later version.
00014 // (see http://www.opensource.org/licenses for more info)
00015 
00016 
00017 //! \addtogroup version
00018 //! @{
00019 
00020 
00021 
00022 struct arma_version
00023   {
00024   static const unsigned int major = 0;
00025   static const unsigned int minor = 9;
00026   static const unsigned int patch = 2;
00027   };
00028 
00029 
00030 
00031 struct arma_config
00032   {
00033   #if defined(ARMA_USE_ATLAS)
00034     static const bool atlas = true;
00035   #else
00036     static const bool atlas = false;
00037   #endif
00038   
00039   
00040   #if defined(ARMA_USE_LAPACK)
00041     static const bool lapack = true;
00042   #else
00043     static const bool lapack = false;
00044   #endif
00045   
00046   
00047   #if defined(ARMA_USE_BLAS)
00048     static const bool blas = true;
00049   #else
00050     static const bool blas = false;
00051   #endif
00052 
00053 
00054   #if defined(ARMA_USE_BOOST)
00055     static const bool boost = true;
00056   #else
00057     static const bool boost = false;
00058   #endif
00059   
00060 
00061   #if defined(ARMA_USE_BOOST_DATE)
00062     static const bool boost_date = true;
00063   #else
00064     static const bool boost_date = false;
00065   #endif
00066 
00067 
00068   #if !defined(ARMA_NO_DEBUG) && !defined(NDEBUG)
00069     static const bool debug = true;
00070   #else
00071     static const bool debug = false;
00072   #endif
00073   
00074   
00075   #if defined(ARMA_EXTRA_DEBUG)
00076     static const bool extra_debug = true;
00077   #else
00078     static const bool extra_debug = false;
00079   #endif
00080   
00081   
00082   #if defined(ARMA_GOOD_COMPILER)
00083     static const bool good_comp = true;
00084   #else
00085     static const bool good_comp = false;
00086   #endif
00087   };
00088 
00089 
00090 
00091 //! @}