updated documentation for middleCol and middleRow

This commit is contained in:
Jens Wehner 2021-08-05 17:21:16 +00:00 committed by Rasmus Munk Larsen
parent 4ba872bd75
commit 4d870c49b7

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: