Eigne Matrix Class Library
Dependents: Eigen_test Odometry_test AttitudeEstimation_usingTicker MPU9250_Quaternion_Binary_Serial ... more
Settings.h
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 // This Source Code Form is subject to the terms of the Mozilla 00008 // Public License v. 2.0. If a copy of the MPL was not distributed 00009 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 00010 00011 00012 /* All the parameters defined in this file can be specialized in the 00013 * architecture specific files, and/or by the user. 00014 * More to come... */ 00015 00016 #ifndef EIGEN_DEFAULT_SETTINGS_H 00017 #define EIGEN_DEFAULT_SETTINGS_H 00018 00019 /** Defines the maximal loop size to enable meta unrolling of loops. 00020 * Note that the value here is expressed in Eigen's own notion of "number of FLOPS", 00021 * it does not correspond to the number of iterations or the number of instructions 00022 */ 00023 #ifndef EIGEN_UNROLLING_LIMIT 00024 #define EIGEN_UNROLLING_LIMIT 100 00025 #endif 00026 00027 /** Defines the threshold between a "small" and a "large" matrix. 00028 * This threshold is mainly used to select the proper product implementation. 00029 */ 00030 #ifndef EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 00031 #define EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 8 00032 #endif 00033 00034 /** Defines the maximal width of the blocks used in the triangular product and solver 00035 * for vectors (level 2 blas xTRMV and xTRSV). The default is 8. 00036 */ 00037 #ifndef EIGEN_TUNE_TRIANGULAR_PANEL_WIDTH 00038 #define EIGEN_TUNE_TRIANGULAR_PANEL_WIDTH 8 00039 #endif 00040 00041 00042 /** Defines the default number of registers available for that architecture. 00043 * Currently it must be 8 or 16. Other values will fail. 00044 */ 00045 #ifndef EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 00046 #define EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 8 00047 #endif 00048 00049 #endif // EIGEN_DEFAULT_SETTINGS_H
Generated on Tue Jul 12 2022 17:47:00 by 1.7.2