annotate armadillo-3.900.4/include/armadillo_bits/arma_config.hpp @ 84:55a047986812 tip

Update library URI so as not to be document-local
author Chris Cannam
date Wed, 22 Apr 2020 14:21:57 +0100
parents 1ec0e2823891
children
rev   line source
Chris@49 1 // Copyright (C) 2008-2012 NICTA (www.nicta.com.au)
Chris@49 2 // Copyright (C) 2008-2012 Conrad Sanderson
Chris@49 3 //
Chris@49 4 // This Source Code Form is subject to the terms of the Mozilla Public
Chris@49 5 // License, v. 2.0. If a copy of the MPL was not distributed with this
Chris@49 6 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
Chris@49 7
Chris@49 8
Chris@49 9 //! \addtogroup arma_config
Chris@49 10 //! @{
Chris@49 11
Chris@49 12
Chris@49 13
Chris@49 14 struct arma_config
Chris@49 15 {
Chris@49 16 #if defined(ARMA_MAT_PREALLOC)
Chris@49 17 static const uword mat_prealloc = (sword(ARMA_MAT_PREALLOC) > 0) ? uword(ARMA_MAT_PREALLOC) : 1;
Chris@49 18 #else
Chris@49 19 static const uword mat_prealloc = 16;
Chris@49 20 #endif
Chris@49 21
Chris@49 22
Chris@49 23 #if defined(ARMA_SPMAT_CHUNKSIZE)
Chris@49 24 static const uword spmat_chunksize = (sword(ARMA_SPMAT_CHUNKSIZE) > 0) ? uword(ARMA_SPMAT_CHUNKSIZE) : 256;
Chris@49 25 #else
Chris@49 26 static const uword spmat_chunksize = 256;
Chris@49 27 #endif
Chris@49 28
Chris@49 29
Chris@49 30 #if defined(ARMA_USE_ATLAS)
Chris@49 31 static const bool atlas = true;
Chris@49 32 #else
Chris@49 33 static const bool atlas = false;
Chris@49 34 #endif
Chris@49 35
Chris@49 36
Chris@49 37 #if defined(ARMA_USE_LAPACK)
Chris@49 38 static const bool lapack = true;
Chris@49 39 #else
Chris@49 40 static const bool lapack = false;
Chris@49 41 #endif
Chris@49 42
Chris@49 43
Chris@49 44 #if defined(ARMA_USE_BLAS)
Chris@49 45 static const bool blas = true;
Chris@49 46 #else
Chris@49 47 static const bool blas = false;
Chris@49 48 #endif
Chris@49 49
Chris@49 50
Chris@49 51 #if defined(ARMA_USE_BOOST)
Chris@49 52 static const bool boost = true;
Chris@49 53 #else
Chris@49 54 static const bool boost = false;
Chris@49 55 #endif
Chris@49 56
Chris@49 57
Chris@49 58 #if defined(ARMA_USE_BOOST_DATE)
Chris@49 59 static const bool boost_date = true;
Chris@49 60 #else
Chris@49 61 static const bool boost_date = false;
Chris@49 62 #endif
Chris@49 63
Chris@49 64
Chris@49 65 #if !defined(ARMA_NO_DEBUG) && !defined(NDEBUG)
Chris@49 66 static const bool debug = true;
Chris@49 67 #else
Chris@49 68 static const bool debug = false;
Chris@49 69 #endif
Chris@49 70
Chris@49 71
Chris@49 72 #if defined(ARMA_EXTRA_DEBUG)
Chris@49 73 static const bool extra_debug = true;
Chris@49 74 #else
Chris@49 75 static const bool extra_debug = false;
Chris@49 76 #endif
Chris@49 77
Chris@49 78
Chris@49 79 #if defined(ARMA_GOOD_COMPILER)
Chris@49 80 static const bool good_comp = true;
Chris@49 81 #else
Chris@49 82 static const bool good_comp = false;
Chris@49 83 #endif
Chris@49 84
Chris@49 85
Chris@49 86 #if ( \
Chris@49 87 defined(ARMA_EXTRA_MAT_PROTO) || defined(ARMA_EXTRA_MAT_MEAT) \
Chris@49 88 || defined(ARMA_EXTRA_COL_PROTO) || defined(ARMA_EXTRA_COL_MEAT) \
Chris@49 89 || defined(ARMA_EXTRA_ROW_PROTO) || defined(ARMA_EXTRA_ROW_MEAT) \
Chris@49 90 || defined(ARMA_EXTRA_CUBE_PROTO) || defined(ARMA_EXTRA_CUBE_MEAT) \
Chris@49 91 || defined(ARMA_EXTRA_FIELD_PROTO) || defined(ARMA_EXTRA_FIELD_MEAT) \
Chris@49 92 || defined(ARMA_EXTRA_SPMAT_PROTO) || defined(ARMA_EXTRA_SPMAT_MEAT) \
Chris@49 93 || defined(ARMA_EXTRA_SPCOL_PROTO) || defined(ARMA_EXTRA_SPCOL_MEAT) \
Chris@49 94 || defined(ARMA_EXTRA_SPROW_PROTO) || defined(ARMA_EXTRA_SPROW_MEAT) \
Chris@49 95 )
Chris@49 96 static const bool extra_code = true;
Chris@49 97 #else
Chris@49 98 static const bool extra_code = false;
Chris@49 99 #endif
Chris@49 100 };
Chris@49 101
Chris@49 102
Chris@49 103
Chris@49 104 //! @}