diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-02-01 16:14:53 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-02-01 16:14:53 +0100 |
commit | ffc8386fdbad7a1e642c9d6fdba977e2d124e619 (patch) | |
tree | dfd4b09f0971450d06f9094405e80ac373f9dab3 /Eigen/src/Core/PlainObjectBase.h | |
parent | a486d5590a7532b698db07eaeba8c402bbf9fd6f (diff) |
mark the packet access methods as internal
Diffstat (limited to 'Eigen/src/Core/PlainObjectBase.h')
-rw-r--r-- | Eigen/src/Core/PlainObjectBase.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<Derived>::type return m_storage.data()[index]; } + /** \internal */ template<int LoadMode> EIGEN_STRONG_INLINE PacketScalar packet(Index row, Index col) const { @@ -138,12 +139,14 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type : row + col * m_storage.rows())); } + /** \internal */ template<int LoadMode> EIGEN_STRONG_INLINE PacketScalar packet(Index index) const { return internal::ploadt<PacketScalar, LoadMode>(m_storage.data() + index); } + /** \internal */ template<int StoreMode> EIGEN_STRONG_INLINE void writePacket(Index row, Index col, const PacketScalar& x) { @@ -153,6 +156,7 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type : row + col * m_storage.rows()), x); } + /** \internal */ template<int StoreMode> EIGEN_STRONG_INLINE void writePacket(Index index, const PacketScalar& x) { |