aboutsummaryrefslogtreecommitdiff
path: root/doc/TutorialBlockOperations.dox
diff options
context:
space:
mode:
Diffstat (limited to 'doc/TutorialBlockOperations.dox')
-rw-r--r--doc/TutorialBlockOperations.dox14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/TutorialBlockOperations.dox b/doc/TutorialBlockOperations.dox
index a2d8c97cc..df277482c 100644
--- a/doc/TutorialBlockOperations.dox
+++ b/doc/TutorialBlockOperations.dox
@@ -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: