00001 // This file is part of Eigen, a lightweight C++ template library 00002 // for linear algebra. 00003 // 00004 // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> 00005 // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> 00006 // 00007 // Eigen is free software; you can redistribute it and/or 00008 // modify it under the terms of the GNU Lesser General Public 00009 // License as published by the Free Software Foundation; either 00010 // version 3 of the License, or (at your option) any later version. 00011 // 00012 // Alternatively, you can redistribute it and/or 00013 // modify it under the terms of the GNU General Public License as 00014 // published by the Free Software Foundation; either version 2 of 00015 // the License, or (at your option) any later version. 00016 // 00017 // Eigen is distributed in the hope that it will be useful, but WITHOUT ANY 00018 // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00019 // FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License or the 00020 // GNU General Public License for more details. 00021 // 00022 // You should have received a copy of the GNU Lesser General Public 00023 // License and a copy of the GNU General Public License along with 00024 // Eigen. If not, see <http://www.gnu.org/licenses/>. 00025 00026 00027 /* All the parameters defined in this file can be specialized in the 00028 * architecture specific files, and/or by the user. 00029 * More to come... */ 00030 00031 #ifndef EIGEN_DEFAULT_SETTINGS_H 00032 #define EIGEN_DEFAULT_SETTINGS_H 00033 00038 #ifndef EIGEN_UNROLLING_LIMIT 00039 #define EIGEN_UNROLLING_LIMIT 100 00040 #endif 00041 00045 #ifndef EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 00046 #define EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 8 00047 #endif 00048 00052 #ifndef EIGEN_TUNE_TRIANGULAR_PANEL_WIDTH 00053 #define EIGEN_TUNE_TRIANGULAR_PANEL_WIDTH 8 00054 #endif 00055 00056 00060 #ifndef EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 00061 #define EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 8 00062 #endif 00063 00064 #endif // EIGEN_DEFAULT_SETTINGS_H