arma_config.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 arma_config
00018 //! @{
00019 
00020 
00021 
00022 struct arma_config
00023   {
00024   #if defined(ARMA_USE_ATLAS)
00025     static const bool atlas = true;
00026   #else
00027     static const bool atlas = false;
00028   #endif
00029   
00030   
00031   #if defined(ARMA_USE_LAPACK)
00032     static const bool lapack = true;
00033   #else
00034     static const bool lapack = false;
00035   #endif
00036   
00037   
00038   #if defined(ARMA_USE_BLAS)
00039     static const bool blas = true;
00040   #else
00041     static const bool blas = false;
00042   #endif
00043 
00044 
00045   #if defined(ARMA_USE_BOOST)
00046     static const bool boost = true;
00047   #else
00048     static const bool boost = false;
00049   #endif
00050   
00051 
00052   #if defined(ARMA_USE_BOOST_DATE)
00053     static const bool boost_date = true;
00054   #else
00055     static const bool boost_date = false;
00056   #endif
00057 
00058 
00059   #if !defined(ARMA_NO_DEBUG) && !defined(NDEBUG)
00060     static const bool debug = true;
00061   #else
00062     static const bool debug = false;
00063   #endif
00064   
00065   
00066   #if defined(ARMA_EXTRA_DEBUG)
00067     static const bool extra_debug = true;
00068   #else
00069     static const bool extra_debug = false;
00070   #endif
00071   
00072   
00073   #if defined(ARMA_GOOD_COMPILER)
00074     static const bool good_comp = true;
00075   #else
00076     static const bool good_comp = false;
00077   #endif
00078   };
00079 
00080 
00081 
00082 //! @}