From bdef7eb656f8bb5dcb2b6a81579552d673ce8caf Mon Sep 17 00:00:00 2001 From: Carlos Becker Date: Mon, 28 Jun 2010 18:38:28 +0100 Subject: [PATCH] Added doxygen info for .matrix() and .array() --- Eigen/src/Core/ArrayBase.h | 2 ++ Eigen/src/Core/MatrixBase.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Eigen/src/Core/ArrayBase.h b/Eigen/src/Core/ArrayBase.h index 26d24a4f6..20782e2cf 100644 --- a/Eigen/src/Core/ArrayBase.h +++ b/Eigen/src/Core/ArrayBase.h @@ -151,6 +151,8 @@ template class ArrayBase ArrayBase& array() { return *this; } const ArrayBase& array() const { return *this; } + /** \returns an \link MatrixBase Matrix \endlink expression of this array + * \sa MatrixBase::array() */ MatrixWrapper matrix() { return derived(); } const MatrixWrapper matrix() const { return derived(); } diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index 31199e7ac..94ddb8691 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -286,6 +286,8 @@ template class MatrixBase MatrixBase& matrix() { return *this; } const MatrixBase& matrix() const { return *this; } + /** \returns an \link ArrayBase Array \endlink expression of this matrix + * \sa ArrayBase::matrix() */ ArrayWrapper array() { return derived(); } const ArrayWrapper array() const { return derived(); }