From 2b20da624a4967334fbf18209a2bbec7b5605d49 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sat, 6 Dec 2008 22:21:29 +0000 Subject: * improvements in the tutorial: triangular matrices, linear algebra * minor fixes in Part and StaticAssert * EulerAngles: remove the FIXME as I think the current version is fine --- doc/QuickStartGuide.dox | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'doc/QuickStartGuide.dox') diff --git a/doc/QuickStartGuide.dox b/doc/QuickStartGuide.dox index d9f7d4b61..aa40606ed 100644 --- a/doc/QuickStartGuide.dox +++ b/doc/QuickStartGuide.dox @@ -507,7 +507,37 @@ vec1.normalize();\endcode top\section TutorialCoreTriangularMatrix Dealing with triangular matrices -todo +Read/write access to special parts of a matrix can be achieved. See \link MatrixBase::part() const this \endlink for read access and \link MatrixBase::part() this \endlink for write access.. + + + + + + + +
+Extract triangular matrices \n from a given matrix m: +\code +m.part() +m.part() +m.part() +m.part() +m.part() +m.part()\endcode +
+Write to triangular parts \n of a matrix m: +\code +m1.part() = m2; +m1.part() = m2; +m1.part() = m2; +m1.part() = m2;\endcode +
+Special: take advantage of symmetry \n (selfadjointness) when copying \n an expression into a matrix +\code +m.part() = someSelfadjointMatrix; +m1.part() = m2 + m2.adjoint(); // m2 + m2.adjoint() is selfadjoint \endcode +
+ top\section TutorialCoreSpecialTopics Special Topics -- cgit v1.2.3