include_atlas.hpp
Go to the documentation of this file.
00001 // Copyright (C) 2008-2011 NICTA (www.nicta.com.au)
00002 // Copyright (C) 2008-2011 Conrad Sanderson
00003 // 
00004 // This file is part of the Armadillo C++ library.
00005 // It is provided without any warranty of fitness
00006 // for any purpose. You can redistribute this file
00007 // and/or modify it under the terms of the GNU
00008 // Lesser General Public License (LGPL) as published
00009 // by the Free Software Foundation, either version 3
00010 // of the License or (at your option) any later version.
00011 // (see http://www.opensource.org/licenses for more info)
00012 
00013 
00014 #if defined(ARMA_USE_ATLAS)
00015   #if !defined(ARMA_ATLAS_INCLUDE_DIR)
00016     extern "C"
00017       {
00018       #include <cblas.h>
00019       #include <clapack.h>
00020       }
00021   #else
00022     #define ARMA_STR1(x) x
00023     #define ARMA_STR2(x) ARMA_STR1(x)
00024     
00025     #define ARMA_CBLAS   ARMA_STR2(ARMA_ATLAS_INCLUDE_DIR)ARMA_STR2(cblas.h)
00026     #define ARMA_CLAPACK ARMA_STR2(ARMA_ATLAS_INCLUDE_DIR)ARMA_STR2(clapack.h)
00027     
00028     extern "C"
00029       {
00030       #include ARMA_INCFILE_WRAP(ARMA_CBLAS)
00031       #include ARMA_INCFILE_WRAP(ARMA_CLAPACK)
00032       }
00033     
00034     #undef ARMA_STR1
00035     #undef ARMA_STR2
00036     #undef ARMA_CBLAS
00037     #undef ARMA_CLAPACK
00038   #endif
00039 #endif


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:04