include_atlas.hpp
Go to the documentation of this file.
1 // Copyright (C) 2008-2011 NICTA (www.nicta.com.au)
2 // Copyright (C) 2008-2011 Conrad Sanderson
3 //
4 // This file is part of the Armadillo C++ library.
5 // It is provided without any warranty of fitness
6 // for any purpose. You can redistribute this file
7 // and/or modify it under the terms of the GNU
8 // Lesser General Public License (LGPL) as published
9 // by the Free Software Foundation, either version 3
10 // of the License or (at your option) any later version.
11 // (see http://www.opensource.org/licenses for more info)
12 
13 
14 #if defined(ARMA_USE_ATLAS)
15  #if !defined(ARMA_ATLAS_INCLUDE_DIR)
16  extern "C"
17  {
18  #include <cblas.h>
19  #include <clapack.h>
20  }
21  #else
22  #define ARMA_STR1(x) x
23  #define ARMA_STR2(x) ARMA_STR1(x)
24 
25  #define ARMA_CBLAS ARMA_STR2(ARMA_ATLAS_INCLUDE_DIR)ARMA_STR2(cblas.h)
26  #define ARMA_CLAPACK ARMA_STR2(ARMA_ATLAS_INCLUDE_DIR)ARMA_STR2(clapack.h)
27 
28  extern "C"
29  {
30  #include ARMA_INCFILE_WRAP(ARMA_CBLAS)
31  #include ARMA_INCFILE_WRAP(ARMA_CLAPACK)
32  }
33 
34  #undef ARMA_STR1
35  #undef ARMA_STR2
36  #undef ARMA_CBLAS
37  #undef ARMA_CLAPACK
38  #endif
39 #endif


armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:31:57