parent
971b32440c
commit
656712d48f
@ -2,10 +2,16 @@ namespace Eigen {
|
|||||||
|
|
||||||
/** \page TopicPitfalls Common pitfalls
|
/** \page TopicPitfalls Common pitfalls
|
||||||
|
|
||||||
|
|
||||||
\section TopicPitfalls_template_keyword Compilation error with template methods
|
\section TopicPitfalls_template_keyword Compilation error with template methods
|
||||||
|
|
||||||
See this \link TopicTemplateKeyword page \endlink.
|
See this \link TopicTemplateKeyword page \endlink.
|
||||||
|
|
||||||
|
\section TopicPitfalls_aliasing Aliasing
|
||||||
|
|
||||||
|
Don't miss this \link TopicAliasing page \endlink on aliasing,
|
||||||
|
especially if you got wrong results in statements where the destination appears on the right hand side of the expression.
|
||||||
|
|
||||||
\section TopicPitfalls_auto_keyword C++11 and the auto keyword
|
\section TopicPitfalls_auto_keyword C++11 and the auto keyword
|
||||||
|
|
||||||
In short: do not use the auto keywords with Eigen's expressions, unless you are 100% sure about what you are doing. In particular, do not use the auto keyword as a replacement for a Matrix<> type. Here is an example:
|
In short: do not use the auto keywords with Eigen's expressions, unless you are 100% sure about what you are doing. In particular, do not use the auto keyword as a replacement for a Matrix<> type. Here is an example:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user