diff --git a/Eigen/Eigen b/Eigen/Eigen new file mode 100644 index 000000000..654c8dc63 --- /dev/null +++ b/Eigen/Eigen @@ -0,0 +1,2 @@ +#include "Dense" +#include "Sparse" diff --git a/doc/QuickStartGuide.dox b/doc/QuickStartGuide.dox index ca6468cc6..90dc29277 100644 --- a/doc/QuickStartGuide.dox +++ b/doc/QuickStartGuide.dox @@ -41,13 +41,6 @@ There is no library to link to. For good performance, add the \c -O2 compile-fla On the x86 architecture, the SSE2 instruction set is not enabled by default. Use \c -msse2 to enable it, and Eigen will then automatically enable its vectorized paths. On x86-64 and AltiVec-based architectures, vectorization is enabled by default. - -\warning \redstar In most cases it is enough to include the \c Eigen/Core header only to get started with Eigen. However, some features presented in this tutorial require the Array module to be included (\c \#include \c ). Those features are highlighted with a red star \redstar. Notice that if you want to include all dense (i.e. all except sparse) Eigen functionality at once, you can do: -\code -#include -\endcode -This slows compilation by roughly 10-20% but at least you don't have to worry anymore about including the correct files! - \section TutorialCoreSimpleExampleFixedSize Simple example with fixed-size matrices and vectors @@ -74,6 +67,13 @@ output: + +\warning \redstar In most cases it is enough to include the \c Eigen/Core header only to get started with Eigen. However, some features presented in this tutorial require the Array module to be included (\c \#include \c ). Those features are highlighted with a red star \redstar. Notice that if you want to include all Eigen functionality at once, you can do: +\code +#include +\endcode +This slows compilation down but at least you don't have to worry anymore about including the correct files! There also is the Eigen/Dense header including all dense functionality i.e. leaving out the Sparse module. +