Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00016
00017
00018
00019 struct arma_config
00020 {
00021 #if defined(ARMA_MAT_PREALLOC)
00022 static const uword mat_prealloc = (sword(ARMA_MAT_PREALLOC) > 0) ? uword(ARMA_MAT_PREALLOC) : 1;
00023 #else
00024 static const uword mat_prealloc = 16;
00025 #endif
00026
00027 #if defined(ARMA_USE_ATLAS)
00028 static const bool atlas = true;
00029 #else
00030 static const bool atlas = false;
00031 #endif
00032
00033
00034 #if defined(ARMA_USE_LAPACK)
00035 static const bool lapack = true;
00036 #else
00037 static const bool lapack = false;
00038 #endif
00039
00040
00041 #if defined(ARMA_USE_BLAS)
00042 static const bool blas = true;
00043 #else
00044 static const bool blas = false;
00045 #endif
00046
00047
00048 #if defined(ARMA_USE_BOOST)
00049 static const bool boost = true;
00050 #else
00051 static const bool boost = false;
00052 #endif
00053
00054
00055 #if defined(ARMA_USE_BOOST_DATE)
00056 static const bool boost_date = true;
00057 #else
00058 static const bool boost_date = false;
00059 #endif
00060
00061
00062 #if !defined(ARMA_NO_DEBUG) && !defined(NDEBUG)
00063 static const bool debug = true;
00064 #else
00065 static const bool debug = false;
00066 #endif
00067
00068
00069 #if defined(ARMA_EXTRA_DEBUG)
00070 static const bool extra_debug = true;
00071 #else
00072 static const bool extra_debug = false;
00073 #endif
00074
00075
00076 #if defined(ARMA_GOOD_COMPILER)
00077 static const bool good_comp = true;
00078 #else
00079 static const bool good_comp = false;
00080 #endif
00081
00082
00083 #if ( \
00084 defined(ARMA_EXTRA_MAT_PROTO) || defined(ARMA_EXTRA_MAT_MEAT) \
00085 || defined(ARMA_EXTRA_COL_PROTO) || defined(ARMA_EXTRA_COL_MEAT) \
00086 || defined(ARMA_EXTRA_ROW_PROTO) || defined(ARMA_EXTRA_ROW_MEAT) \
00087 || defined(ARMA_EXTRA_CUBE_PROTO) || defined(ARMA_EXTRA_CUBE_MEAT) \
00088 || defined(ARMA_EXTRA_FIELD_PROTO) || defined(ARMA_EXTRA_FIELD_MEAT) \
00089 )
00090 static const bool extra_code = true;
00091 #else
00092 static const bool extra_code = false;
00093 #endif
00094 };
00095
00096
00097