aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/QuickReference.dox
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-02-23 15:31:16 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-02-23 15:31:16 +0100
commit939f0327b640c3f6ebb712a4b1237b7d5c0b49bc (patch)
tree1495c50d8ac3ac817b3bd2c54cc3b0ea582e84b6 /doc/QuickReference.dox
parent78e1a62c54ecd8a18312cf7909c16e82951ac1f6 (diff)
mention reverse and replicate in the quick ref
Diffstat (limited to 'doc/QuickReference.dox')
-rw-r--r--doc/QuickReference.dox19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/QuickReference.dox b/doc/QuickReference.dox
index 59dc74fa2..58f536dea 100644
--- a/doc/QuickReference.dox
+++ b/doc/QuickReference.dox
@@ -10,6 +10,7 @@ namespace Eigen {
- \ref QuickRef_Coeffwise
- \ref QuickRef_Reductions
- \ref QuickRef_Blocks
+ - \ref QuickRef_Misc
- \ref QuickRef_DiagTriSymm
\n
@@ -525,6 +526,24 @@ Read-write access to sub-matrices:</td></tr>
+<a href="#" class="top">top</a>\section QuickRef_Misc Miscellaneous operations
+
+\subsection QuickRef_Reverse Reverse
+Vectors, rows, and/or columns of a matrix can be reversed (see DenseBase::reverse(), DenseBase::reverseInPlace(), VectorwiseOp::reverse()).
+\code
+vec.reverse() mat.colwise().reverse() mat.rowwise().reverse()
+vec.reverseInPlace()
+\endcode
+
+\subsection QuickRef_Reverse Replicate
+Vectors, matrices, rows, and/or columns can be replicated in any direction (see DenseBase::replicate(), VectorwiseOp::replicate())
+\code
+vec.replicate(times) vec.replicate<Times>
+mat.replicate(vertical_times, horizontal_times) mat.replicate<VerticalTimes, HorizontalTimes>()
+mat.colwise().replicate(vertical_times, horizontal_times) mat.colwise().replicate<VerticalTimes, HorizontalTimes>()
+mat.rowwise().replicate(vertical_times, horizontal_times) mat.rowwise().replicate<VerticalTimes, HorizontalTimes>()
+\endcode
+
<a href="#" class="top">top</a>\section QuickRef_DiagTriSymm Diagonal, Triangular, and Self-adjoint matrices
(matrix world \matrixworld)