updated documentation for middleCol and middleRow

(cherry picked from commit 4d870c49b7f1b49e34e8044dc6c1131d43e91a44)
This commit is contained in:
Jens Wehner 2021-08-05 17:21:16 +00:00 committed by Rasmus Munk Larsen
parent 5b83d3c4bc
commit 4240b480e0

View File

@ -167,6 +167,20 @@ matrix.rightCols(q);\endcode </td>
<td>\code
matrix.rightCols<q>();\endcode </td>
</tr>
<tr><td>%Block containing the q columns starting from i
\link DenseBase::middleCols() * \endlink</td>
<td>\code
matrix.middleCols(i,q);\endcode </td>
<td>\code
matrix.middleCols<q>(i);\endcode </td>
</tr>
<tr><td>%Block containing the q rows starting from i
\link DenseBase::middleRows() * \endlink</td>
<td>\code
matrix.middleRows(i,q);\endcode </td>
<td>\code
matrix.middleRows<q>(i);\endcode </td>
</tr>
</table>
Here is a simple example illustrating the use of the operations presented above: