mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 12:46:00 +08:00
Added doxygen info for .matrix() and .array()
This commit is contained in:
parent
086ad93295
commit
bdef7eb656
@ -151,6 +151,8 @@ template<typename Derived> class ArrayBase
|
|||||||
ArrayBase<Derived>& array() { return *this; }
|
ArrayBase<Derived>& array() { return *this; }
|
||||||
const ArrayBase<Derived>& array() const { return *this; }
|
const ArrayBase<Derived>& array() const { return *this; }
|
||||||
|
|
||||||
|
/** \returns an \link MatrixBase Matrix \endlink expression of this array
|
||||||
|
* \sa MatrixBase::array() */
|
||||||
MatrixWrapper<Derived> matrix() { return derived(); }
|
MatrixWrapper<Derived> matrix() { return derived(); }
|
||||||
const MatrixWrapper<Derived> matrix() const { return derived(); }
|
const MatrixWrapper<Derived> matrix() const { return derived(); }
|
||||||
|
|
||||||
|
@ -286,6 +286,8 @@ template<typename Derived> class MatrixBase
|
|||||||
MatrixBase<Derived>& matrix() { return *this; }
|
MatrixBase<Derived>& matrix() { return *this; }
|
||||||
const MatrixBase<Derived>& matrix() const { return *this; }
|
const MatrixBase<Derived>& matrix() const { return *this; }
|
||||||
|
|
||||||
|
/** \returns an \link ArrayBase Array \endlink expression of this matrix
|
||||||
|
* \sa ArrayBase::matrix() */
|
||||||
ArrayWrapper<Derived> array() { return derived(); }
|
ArrayWrapper<Derived> array() { return derived(); }
|
||||||
const ArrayWrapper<Derived> array() const { return derived(); }
|
const ArrayWrapper<Derived> array() const { return derived(); }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user