patch from Ricard Marxer: add doc example for select()

This commit is contained in:
Gael Guennebaud 2009-01-17 09:59:32 +00:00
parent 1eec38dc36
commit c5020c6e8e
2 changed files with 4 additions and 1 deletions

View File

@ -108,6 +108,9 @@ class Select : ei_no_assignment_operator,
* \returns a matrix where each coefficient (i,j) is equal to \a thenMatrix(i,j)
* if \c *this(i,j), and \a elseMatrix(i,j) otherwise.
*
* Example: \include MatrixBase_select.cpp
* Output: \verbinclude MatrixBase_select.out
*
* \sa class Select
*/
template<typename Derived>

View File

@ -114,7 +114,7 @@ using Eigen::ei_cos;
#if (defined _MSC_VER)
#define EIGEN_STRONG_INLINE __forceinline
#else
#define EIGEN_STRONG_INLINE inline
#define EIGEN_STRONG_INLINE __attribute__((always_inline))
#endif
#if (defined __GNUC__)