From 29a1a58113e3978ce12b8592b7f2f2184e20ec81 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 4 Jan 2017 22:01:50 +0100 Subject: [PATCH] Document selfadjointView --- Eigen/src/Core/SelfAdjointView.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Eigen/src/Core/SelfAdjointView.h b/Eigen/src/Core/SelfAdjointView.h index 06484ab30..504c98f0e 100644 --- a/Eigen/src/Core/SelfAdjointView.h +++ b/Eigen/src/Core/SelfAdjointView.h @@ -319,6 +319,7 @@ public: * Implementation of MatrixBase methods ***************************************************************************/ +/** This is the const version of MatrixBase::selfadjointView() */ template template typename MatrixBase::template ConstSelfAdjointViewReturnType::Type @@ -327,6 +328,15 @@ MatrixBase::selfadjointView() const return typename ConstSelfAdjointViewReturnType::Type(derived()); } +/** \returns an expression of a symmetric/self-adjoint view extracted from the upper or lower triangular part of the current matrix + * + * The parameter \a UpLo can be either \c #Upper or \c #Lower + * + * Example: \include MatrixBase_selfadjointView.cpp + * Output: \verbinclude MatrixBase_selfadjointView.out + * + * \sa class SelfAdjointView + */ template template typename MatrixBase::template SelfAdjointViewReturnType::Type