max@0: // Copyright (C) 2008-2012 NICTA (www.nicta.com.au) max@0: // Copyright (C) 2008-2012 Conrad Sanderson max@0: // max@0: // This file is part of the Armadillo C++ library. max@0: // It is provided without any warranty of fitness max@0: // for any purpose. You can redistribute this file max@0: // and/or modify it under the terms of the GNU max@0: // Lesser General Public License (LGPL) as published max@0: // by the Free Software Foundation, either version 3 max@0: // of the License or (at your option) any later version. max@0: // (see http://www.opensource.org/licenses for more info) max@0: max@0: max@0: max@0: // #define ARMA_64BIT_WORD max@0: //// Uncomment the above line if you require matrices/vectors capable of holding more than 4 billion elements. max@0: //// Your machine and compiler must have support for 64 bit integers (eg. via "long" or "long long") max@0: max@0: // #define ARMA_USE_CXX11 max@0: //// Uncomment the above line if you have a C++ compiler that supports the C++11 standard max@0: //// This will enable additional features, such as use of initialiser lists max@0: max@0: #if !defined(ARMA_USE_LAPACK) max@0: #define ARMA_USE_LAPACK max@0: //// Uncomment the above line if you have LAPACK or a fast replacement for LAPACK, max@0: //// such as Intel's MKL, AMD's ACML, or the Accelerate framework. max@0: //// LAPACK is required for matrix decompositions (eg. SVD) and matrix inverse. max@0: #endif max@0: max@0: #if !defined(ARMA_USE_BLAS) max@0: #define ARMA_USE_BLAS max@0: //// Uncomment the above line if you have BLAS or a fast replacement for BLAS, max@0: //// such as GotoBLAS, Intel's MKL, AMD's ACML, or the Accelerate framework. max@0: //// BLAS is used for matrix multiplication. max@0: //// Without BLAS, matrix multiplication will still work, but might be slower. max@0: #endif max@0: max@0: // #define ARMA_BLAS_LONG max@0: //// Uncomment the above line if your BLAS and LAPACK libraries use "long" instead of "int" max@0: max@0: // #define ARMA_BLAS_LONG_LONG max@0: //// Uncomment the above line if your BLAS and LAPACK libraries use "long long" instead of "int" max@0: max@0: #define ARMA_BLAS_UNDERSCORE max@0: //// Uncomment the above line if your BLAS and LAPACK libraries have function names with a trailing underscore. max@0: //// Conversely, comment it out if the function names don't have a trailing underscore. max@0: max@0: // #define ARMA_BLAS_CAPITALS max@0: //// Uncomment the above line if your BLAS and LAPACK libraries have capitalised function names (eg. ACML on 64-bit Windows) max@0: max@0: #if !defined(ARMA_MAT_PREALLOC) max@0: #define ARMA_MAT_PREALLOC 16 max@0: #endif max@0: //// This is the number of preallocated elements used by matrices and vectors; max@0: //// it must be an integer that is at least 1. max@0: //// If you mainly use lots of very small vectors (eg. <= 4 elements), max@0: //// change the number to the size of your vectors. max@0: max@0: // #define ARMA_USE_TBB_ALLOC max@0: //// Uncomment the above line if you want to use Intel TBB scalable_malloc() and scalable_free() instead of standard new[] and delete[] max@0: max@0: // #define ARMA_USE_ATLAS max@0: // #define ARMA_ATLAS_INCLUDE_DIR /usr/include/ max@0: //// If you're using ATLAS and the compiler can't find cblas.h and/or clapack.h max@0: //// uncomment the above define and specify the appropriate include directory. max@0: //// Make sure the directory has a trailing / max@0: max@0: // #define ARMA_USE_BOOST max@0: // #define ARMA_USE_BOOST_DATE max@0: // #define ARMA_USE_WRAPPER max@0: max@0: #if !defined(ARMA_DEFAULT_OSTREAM) max@0: #define ARMA_DEFAULT_OSTREAM std::cout max@0: #endif max@0: max@0: #define ARMA_PRINT_LOGIC_ERRORS max@0: #define ARMA_PRINT_RUNTIME_ERRORS max@0: max@0: // #define ARMA_HAVE_STD_ISFINITE max@0: // #define ARMA_HAVE_STD_ISINF max@0: // #define ARMA_HAVE_STD_ISNAN max@0: // #define ARMA_HAVE_STD_SNPRINTF max@0: max@0: // #define ARMA_HAVE_LOG1P max@0: // #define ARMA_HAVE_GETTIMEOFDAY max@0: max@0: // #define ARMA_EXTRA_DEBUG max@0: // #define ARMA_NO_DEBUG max@0: max@0: #if defined(ARMA_DONT_USE_ATLAS) max@0: #undef ARMA_USE_ATLAS max@0: #undef ARMA_ATLAS_INCLUDE_DIR max@0: #endif max@0: max@0: #if defined(ARMA_DONT_USE_LAPACK) max@0: #undef ARMA_USE_LAPACK max@0: #endif max@0: max@0: #if defined(ARMA_DONT_USE_BLAS) max@0: #undef ARMA_USE_BLAS max@0: #endif max@0: max@0: #if defined(ARMA_DONT_PRINT_LOGIC_ERRORS) max@0: #undef ARMA_PRINT_LOGIC_ERRORS max@0: #endif max@0: max@0: #if defined(ARMA_DONT_PRINT_RUNTIME_ERRORS) max@0: #undef ARMA_PRINT_RUNTIME_ERRORS max@0: #endif