arma_config.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 
16 
17 
18 
20  {
21  #if defined(ARMA_MAT_PREALLOC)
22  static const uword mat_prealloc = (sword(ARMA_MAT_PREALLOC) > 0) ? uword(ARMA_MAT_PREALLOC) : 1;
23  #else
24  static const uword mat_prealloc = 16;
25  #endif
26 
27  #if defined(ARMA_USE_ATLAS)
28  static const bool atlas = true;
29  #else
30  static const bool atlas = false;
31  #endif
32 
33 
34  #if defined(ARMA_USE_LAPACK)
35  static const bool lapack = true;
36  #else
37  static const bool lapack = false;
38  #endif
39 
40 
41  #if defined(ARMA_USE_BLAS)
42  static const bool blas = true;
43  #else
44  static const bool blas = false;
45  #endif
46 
47 
48  #if defined(ARMA_USE_BOOST)
49  static const bool boost = true;
50  #else
51  static const bool boost = false;
52  #endif
53 
54 
55  #if defined(ARMA_USE_BOOST_DATE)
56  static const bool boost_date = true;
57  #else
58  static const bool boost_date = false;
59  #endif
60 
61 
62  #if !defined(ARMA_NO_DEBUG) && !defined(NDEBUG)
63  static const bool debug = true;
64  #else
65  static const bool debug = false;
66  #endif
67 
68 
69  #if defined(ARMA_EXTRA_DEBUG)
70  static const bool extra_debug = true;
71  #else
72  static const bool extra_debug = false;
73  #endif
74 
75 
76  #if defined(ARMA_GOOD_COMPILER)
77  static const bool good_comp = true;
78  #else
79  static const bool good_comp = false;
80  #endif
81 
82 
83  #if ( \
84  defined(ARMA_EXTRA_MAT_PROTO) || defined(ARMA_EXTRA_MAT_MEAT) \
85  || defined(ARMA_EXTRA_COL_PROTO) || defined(ARMA_EXTRA_COL_MEAT) \
86  || defined(ARMA_EXTRA_ROW_PROTO) || defined(ARMA_EXTRA_ROW_MEAT) \
87  || defined(ARMA_EXTRA_CUBE_PROTO) || defined(ARMA_EXTRA_CUBE_MEAT) \
88  || defined(ARMA_EXTRA_FIELD_PROTO) || defined(ARMA_EXTRA_FIELD_MEAT) \
89  )
90  static const bool extra_code = true;
91  #else
92  static const bool extra_code = false;
93  #endif
94  };
95 
96 
97 
static const uword mat_prealloc
Definition: arma_config.hpp:24
static const bool extra_debug
Definition: arma_config.hpp:72
static const bool blas
Definition: arma_config.hpp:44
u32 uword
Definition: typedef.hpp:85
static const bool good_comp
Definition: arma_config.hpp:79
#define ARMA_MAT_PREALLOC
Definition: config.hpp:52
static const bool boost_date
Definition: arma_config.hpp:58
static const bool atlas
Definition: arma_config.hpp:30
static const bool boost
Definition: arma_config.hpp:51
static const bool lapack
Definition: arma_config.hpp:37
static const bool debug
Definition: arma_config.hpp:63
static const bool extra_code
Definition: arma_config.hpp:92
s32 sword
Definition: typedef.hpp:86


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