PR 593: Add variadtic ctor for DiagonalMatrix with unit tests

This commit is contained in:
David Tellenbach
2019-03-14 10:18:24 +01:00
parent 45ab514fe2
commit 97f9a46cb9
4 changed files with 211 additions and 1 deletions

View File

@@ -532,7 +532,7 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
* \only_for_vectors
*
* This constructor is for 1D array or vectors with more than 4 coefficients.
* There exists c++98 anologue constructors for fixed-size array/vector having 1, 2, 3, or 4 coefficients.
* There exists C++98 anologue constructors for fixed-size array/vector having 1, 2, 3, or 4 coefficients.
*
* \warning To construct a column (resp. row) vector of fixed length, the number of values passed to this
* constructor must match the the fixed number of rows (resp. columns) of \c *this.