diff options
author | Gael Guennebaud <g.gael@free.fr> | 2019-01-22 17:08:47 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2019-01-22 17:08:47 +0100 |
commit | 80f81f9c4b01cc4f513c5b92c52c5a0efb68ecc3 (patch) | |
tree | 6e9c61e63dcb690afb48f40e1d470ed2c735ceff /Eigen/src/Core/PlainObjectBase.h | |
parent | db152b9ee6effd3799f70a621f495c427cb3c33f (diff) |
Cleanup SFINAE in Array/Matrix(initializer_list) ctors and minor doc editing.
Diffstat (limited to 'Eigen/src/Core/PlainObjectBase.h')
-rw-r--r-- | Eigen/src/Core/PlainObjectBase.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index 1a996b0aa..04748e5e9 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -527,21 +527,19 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type } #ifdef EIGEN_PARSED_BY_DOXYGEN - /** - * \brief Construct a vector with fixed number of rows or a rowvector with fixed number of - * columns by passing an initializer list \cpp11 - * - * \only_for_vectors - * - * \warning To construct a vector or rowvector of fixed size, the number of values passed through - * the initializer list must match the the fixed number of rows in the vector case or - * the fixed number of columns in the rowvector case. */ + /** \brief Construct a row of column vector with fixed size from an initializer list of coefficients. \cpp11 + * + * \only_for_vectors + * + * \warning To construct a column (resp. row) vector of fixed length, the number of values passed through + * the initializer list must match the the fixed number of rows (resp. columns) of \c *this. + */ EIGEN_DEVICE_FUNC explicit EIGEN_STRONG_INLINE PlainObjectBase(const std::initializer_list<Scalar>& list); - /** - * \brief Constructs a Matrix or Array and initializes it by elements given by an initializer list of initializer - * lists \cpp11 */ + /** \brief Constructs a Matrix or Array and initializes it by elements given by an initializer list of initializer + * lists \cpp11 + */ EIGEN_DEVICE_FUNC explicit EIGEN_STRONG_INLINE PlainObjectBase(const std::initializer_list<std::initializer_list<Scalar>>& list); #else // EIGEN_PARSED_BY_DOXYGEN |