diff armadillo-3.900.4/include/armadillo_bits/arma_config.hpp @ 49:1ec0e2823891

Switch to using subrepo copies of qm-dsp, nnls-chroma, vamp-plugin-sdk; update Armadillo version; assume build without external BLAS/LAPACK
author Chris Cannam
date Thu, 13 Jun 2013 10:25:24 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/armadillo-3.900.4/include/armadillo_bits/arma_config.hpp	Thu Jun 13 10:25:24 2013 +0100
@@ -0,0 +1,104 @@
+// Copyright (C) 2008-2012 NICTA (www.nicta.com.au)
+// Copyright (C) 2008-2012 Conrad Sanderson
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+
+//! \addtogroup arma_config
+//! @{
+
+
+
+struct arma_config
+  {
+  #if defined(ARMA_MAT_PREALLOC)
+    static const uword mat_prealloc = (sword(ARMA_MAT_PREALLOC) > 0) ? uword(ARMA_MAT_PREALLOC) : 1;
+  #else
+    static const uword mat_prealloc = 16;
+  #endif
+  
+  
+  #if defined(ARMA_SPMAT_CHUNKSIZE)
+    static const uword spmat_chunksize = (sword(ARMA_SPMAT_CHUNKSIZE) > 0) ? uword(ARMA_SPMAT_CHUNKSIZE) : 256;
+  #else
+    static const uword spmat_chunksize = 256;
+  #endif
+  
+  
+  #if defined(ARMA_USE_ATLAS)
+    static const bool atlas = true;
+  #else
+    static const bool atlas = false;
+  #endif
+  
+  
+  #if defined(ARMA_USE_LAPACK)
+    static const bool lapack = true;
+  #else
+    static const bool lapack = false;
+  #endif
+  
+  
+  #if defined(ARMA_USE_BLAS)
+    static const bool blas = true;
+  #else
+    static const bool blas = false;
+  #endif
+
+
+  #if defined(ARMA_USE_BOOST)
+    static const bool boost = true;
+  #else
+    static const bool boost = false;
+  #endif
+  
+
+  #if defined(ARMA_USE_BOOST_DATE)
+    static const bool boost_date = true;
+  #else
+    static const bool boost_date = false;
+  #endif
+
+
+  #if !defined(ARMA_NO_DEBUG) && !defined(NDEBUG)
+    static const bool debug = true;
+  #else
+    static const bool debug = false;
+  #endif
+  
+  
+  #if defined(ARMA_EXTRA_DEBUG)
+    static const bool extra_debug = true;
+  #else
+    static const bool extra_debug = false;
+  #endif
+  
+  
+  #if defined(ARMA_GOOD_COMPILER)
+    static const bool good_comp = true;
+  #else
+    static const bool good_comp = false;
+  #endif
+  
+  
+  #if (  \
+         defined(ARMA_EXTRA_MAT_PROTO)   || defined(ARMA_EXTRA_MAT_MEAT)   \
+      || defined(ARMA_EXTRA_COL_PROTO)   || defined(ARMA_EXTRA_COL_MEAT)   \
+      || defined(ARMA_EXTRA_ROW_PROTO)   || defined(ARMA_EXTRA_ROW_MEAT)   \
+      || defined(ARMA_EXTRA_CUBE_PROTO)  || defined(ARMA_EXTRA_CUBE_MEAT)  \
+      || defined(ARMA_EXTRA_FIELD_PROTO) || defined(ARMA_EXTRA_FIELD_MEAT) \
+      || defined(ARMA_EXTRA_SPMAT_PROTO) || defined(ARMA_EXTRA_SPMAT_MEAT) \
+      || defined(ARMA_EXTRA_SPCOL_PROTO) || defined(ARMA_EXTRA_SPCOL_MEAT) \
+      || defined(ARMA_EXTRA_SPROW_PROTO) || defined(ARMA_EXTRA_SPROW_MEAT) \
+      )
+    static const bool extra_code = true;
+  #else
+    static const bool extra_code = false;
+  #endif
+  };
+
+
+
+//! @}