LTI-Lib latest version v1.9 - last update 10 Apr 2010

ltiPerformanceConfig.h File Reference

Definition of constants that are used to tweak the performance of some algorithm but need not be changed for every call of a method. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _LTI_PERFORMANCE_MATRIX_MATRIX_MULTIPLY   65
#define _LTI_PERFORMANCE_QR_DECOMPOSITION   50
#define _LTI_PERFORMANCE_SORT_STOP_QUICKSORT   10

Detailed Description

Definition of constants that are used to tweak the performance of some algorithm but need not be changed for every call of a method.

Usually, these constants are architecture dependent, mostly cache. The default values in this file were determined on a P4 1600 with 512 RAM.


Define Documentation

#define _LTI_PERFORMANCE_MATRIX_MATRIX_MULTIPLY   65

Multiplication of two matrices in lti::matrix is faster if the second matrix is transposed first when that matrix is large.

Large is defined below.

#define _LTI_PERFORMANCE_QR_DECOMPOSITION   50

The QR decomposition algorithm (lti::qrDecomposition) accesses the data matrix column wise.

Depending on the size it is faster to transpose first and transpose the results again.

Referenced by lti::qrDecomposition< T >::parameters::parameters().

#define _LTI_PERFORMANCE_SORT_STOP_QUICKSORT   10

lti::sort uses quicksort down to a certain number of elements to sort after which it uses a simple sorting algorithm.

The value below sets that threshold.

Referenced by lti::sort< T >::parameters::parameters().


Generated on Sat Apr 10 15:26:27 2010 for LTI-Lib by Doxygen 1.6.1