From ffc8386fdbad7a1e642c9d6fdba977e2d124e619 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 1 Feb 2011 16:14:53 +0100 Subject: mark the packet access methods as internal --- Eigen/src/Core/DenseCoeffsBase.h | 16 +++++++++++----- Eigen/src/Core/PlainObjectBase.h | 4 ++++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Eigen/src/Core/DenseCoeffsBase.h b/Eigen/src/Core/DenseCoeffsBase.h index f9f1f4851..7838a1cfb 100644 --- a/Eigen/src/Core/DenseCoeffsBase.h +++ b/Eigen/src/Core/DenseCoeffsBase.h @@ -207,7 +207,8 @@ class DenseCoeffsBase : public EigenBase EIGEN_STRONG_INLINE CoeffReturnType w() const { return (*this)[3]; } - /** \returns the packet of coefficients starting at the given row and column. It is your responsibility + /** \internal + * \returns the packet of coefficients starting at the given row and column. It is your responsibility * to ensure that a packet really starts there. This method is only available on expressions having the * PacketAccessBit. * @@ -225,6 +226,7 @@ class DenseCoeffsBase : public EigenBase } + /** \internal */ template EIGEN_STRONG_INLINE PacketReturnType packetByOuterInner(Index outer, Index inner) const { @@ -232,7 +234,8 @@ class DenseCoeffsBase : public EigenBase colIndexByOuterInner(outer, inner)); } - /** \returns the packet of coefficients starting at the given index. It is your responsibility + /** \internal + * \returns the packet of coefficients starting at the given index. It is your responsibility * to ensure that a packet really starts there. This method is only available on expressions having the * PacketAccessBit and the LinearAccessBit. * @@ -425,7 +428,8 @@ class DenseCoeffsBase : public DenseCoeffsBase : public DenseCoeffsBase EIGEN_STRONG_INLINE void writePacketByOuterInner (Index outer, Index inner, const typename internal::packet_traits::type& x) @@ -453,7 +458,8 @@ class DenseCoeffsBase : public DenseCoeffsBase : public DenseCoeffsBase EIGEN_STRONG_INLINE void writePacket (Index index, const typename internal::packet_traits::type& x) @@ -546,6 +551,7 @@ class DenseCoeffsBase : public DenseCoeffsBase(index)); } + /** \internal */ template EIGEN_STRONG_INLINE void copyPacketByOuterInner(Index outer, Index inner, const DenseBase& other) { diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index 666ce7743..a6685afd0 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -129,6 +129,7 @@ class PlainObjectBase : public internal::dense_xpr_base::type return m_storage.data()[index]; } + /** \internal */ template EIGEN_STRONG_INLINE PacketScalar packet(Index row, Index col) const { @@ -138,12 +139,14 @@ class PlainObjectBase : public internal::dense_xpr_base::type : row + col * m_storage.rows())); } + /** \internal */ template EIGEN_STRONG_INLINE PacketScalar packet(Index index) const { return internal::ploadt(m_storage.data() + index); } + /** \internal */ template EIGEN_STRONG_INLINE void writePacket(Index row, Index col, const PacketScalar& x) { @@ -153,6 +156,7 @@ class PlainObjectBase : public internal::dense_xpr_base::type : row + col * m_storage.rows()), x); } + /** \internal */ template EIGEN_STRONG_INLINE void writePacket(Index index, const PacketScalar& x) { -- cgit v1.2.3