Mercurial > hg > segmenter-vamp-plugin
comparison armadillo-2.4.4/include/armadillo_bits/config.hpp @ 0:8b6102e2a9b0
Armadillo Library
author | maxzanoni76 <max.zanoni@eecs.qmul.ac.uk> |
---|---|
date | Wed, 11 Apr 2012 09:27:06 +0100 |
parents | |
children | 4fd0ce6f1f02 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8b6102e2a9b0 |
---|---|
1 // Copyright (C) 2008-2012 NICTA (www.nicta.com.au) | |
2 // Copyright (C) 2008-2012 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 | |
15 // #define ARMA_64BIT_WORD | |
16 //// Uncomment the above line if you require matrices/vectors capable of holding more than 4 billion elements. | |
17 //// Your machine and compiler must have support for 64 bit integers (eg. via "long" or "long long") | |
18 | |
19 // #define ARMA_USE_CXX11 | |
20 //// Uncomment the above line if you have a C++ compiler that supports the C++11 standard | |
21 //// This will enable additional features, such as use of initialiser lists | |
22 | |
23 #if !defined(ARMA_USE_LAPACK) | |
24 #define ARMA_USE_LAPACK | |
25 //// Uncomment the above line if you have LAPACK or a fast replacement for LAPACK, | |
26 //// such as Intel's MKL, AMD's ACML, or the Accelerate framework. | |
27 //// LAPACK is required for matrix decompositions (eg. SVD) and matrix inverse. | |
28 #endif | |
29 | |
30 #if !defined(ARMA_USE_BLAS) | |
31 #define ARMA_USE_BLAS | |
32 //// Uncomment the above line if you have BLAS or a fast replacement for BLAS, | |
33 //// such as GotoBLAS, Intel's MKL, AMD's ACML, or the Accelerate framework. | |
34 //// BLAS is used for matrix multiplication. | |
35 //// Without BLAS, matrix multiplication will still work, but might be slower. | |
36 #endif | |
37 | |
38 // #define ARMA_BLAS_LONG | |
39 //// Uncomment the above line if your BLAS and LAPACK libraries use "long" instead of "int" | |
40 | |
41 // #define ARMA_BLAS_LONG_LONG | |
42 //// Uncomment the above line if your BLAS and LAPACK libraries use "long long" instead of "int" | |
43 | |
44 #define ARMA_BLAS_UNDERSCORE | |
45 //// Uncomment the above line if your BLAS and LAPACK libraries have function names with a trailing underscore. | |
46 //// Conversely, comment it out if the function names don't have a trailing underscore. | |
47 | |
48 // #define ARMA_BLAS_CAPITALS | |
49 //// Uncomment the above line if your BLAS and LAPACK libraries have capitalised function names (eg. ACML on 64-bit Windows) | |
50 | |
51 #if !defined(ARMA_MAT_PREALLOC) | |
52 #define ARMA_MAT_PREALLOC 16 | |
53 #endif | |
54 //// This is the number of preallocated elements used by matrices and vectors; | |
55 //// it must be an integer that is at least 1. | |
56 //// If you mainly use lots of very small vectors (eg. <= 4 elements), | |
57 //// change the number to the size of your vectors. | |
58 | |
59 // #define ARMA_USE_TBB_ALLOC | |
60 //// Uncomment the above line if you want to use Intel TBB scalable_malloc() and scalable_free() instead of standard new[] and delete[] | |
61 | |
62 // #define ARMA_USE_ATLAS | |
63 // #define ARMA_ATLAS_INCLUDE_DIR /usr/include/ | |
64 //// If you're using ATLAS and the compiler can't find cblas.h and/or clapack.h | |
65 //// uncomment the above define and specify the appropriate include directory. | |
66 //// Make sure the directory has a trailing / | |
67 | |
68 // #define ARMA_USE_BOOST | |
69 // #define ARMA_USE_BOOST_DATE | |
70 // #define ARMA_USE_WRAPPER | |
71 | |
72 #if !defined(ARMA_DEFAULT_OSTREAM) | |
73 #define ARMA_DEFAULT_OSTREAM std::cout | |
74 #endif | |
75 | |
76 #define ARMA_PRINT_LOGIC_ERRORS | |
77 #define ARMA_PRINT_RUNTIME_ERRORS | |
78 | |
79 // #define ARMA_HAVE_STD_ISFINITE | |
80 // #define ARMA_HAVE_STD_ISINF | |
81 // #define ARMA_HAVE_STD_ISNAN | |
82 // #define ARMA_HAVE_STD_SNPRINTF | |
83 | |
84 // #define ARMA_HAVE_LOG1P | |
85 // #define ARMA_HAVE_GETTIMEOFDAY | |
86 | |
87 // #define ARMA_EXTRA_DEBUG | |
88 // #define ARMA_NO_DEBUG | |
89 | |
90 #if defined(ARMA_DONT_USE_ATLAS) | |
91 #undef ARMA_USE_ATLAS | |
92 #undef ARMA_ATLAS_INCLUDE_DIR | |
93 #endif | |
94 | |
95 #if defined(ARMA_DONT_USE_LAPACK) | |
96 #undef ARMA_USE_LAPACK | |
97 #endif | |
98 | |
99 #if defined(ARMA_DONT_USE_BLAS) | |
100 #undef ARMA_USE_BLAS | |
101 #endif | |
102 | |
103 #if defined(ARMA_DONT_PRINT_LOGIC_ERRORS) | |
104 #undef ARMA_PRINT_LOGIC_ERRORS | |
105 #endif | |
106 | |
107 #if defined(ARMA_DONT_PRINT_RUNTIME_ERRORS) | |
108 #undef ARMA_PRINT_RUNTIME_ERRORS | |
109 #endif |