mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-26 14:54:30 +08:00
patch from Ricard Marxer: add doc example for select()
This commit is contained in:
parent
1eec38dc36
commit
c5020c6e8e
@ -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)
|
* \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.
|
* if \c *this(i,j), and \a elseMatrix(i,j) otherwise.
|
||||||
*
|
*
|
||||||
|
* Example: \include MatrixBase_select.cpp
|
||||||
|
* Output: \verbinclude MatrixBase_select.out
|
||||||
|
*
|
||||||
* \sa class Select
|
* \sa class Select
|
||||||
*/
|
*/
|
||||||
template<typename Derived>
|
template<typename Derived>
|
||||||
|
@ -114,7 +114,7 @@ using Eigen::ei_cos;
|
|||||||
#if (defined _MSC_VER)
|
#if (defined _MSC_VER)
|
||||||
#define EIGEN_STRONG_INLINE __forceinline
|
#define EIGEN_STRONG_INLINE __forceinline
|
||||||
#else
|
#else
|
||||||
#define EIGEN_STRONG_INLINE inline
|
#define EIGEN_STRONG_INLINE __attribute__((always_inline))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined __GNUC__)
|
#if (defined __GNUC__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user