Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes

SwapWrapper< ExpressionType > Class Template Reference


Detailed Description

template<typename ExpressionType>
class SwapWrapper< ExpressionType >

Definition at line 40 of file Swap.h.

#include <src/Core/Swap.h>

Inheritance diagram for SwapWrapper< ExpressionType >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
internal::dense_xpr_base
< SwapWrapper >::type 
Base
typedef
internal::packet_traits
< Scalar >::type 
Packet

Public Member Functions

 SwapWrapper (ExpressionType &xpr)
Index rows () const
Index cols () const
Index outerStride () const
Index innerStride () const
Scalar & coeffRef (Index row, Index col)
Scalar & coeffRef (Index index)
Scalar & coeffRef (Index row, Index col) const
Scalar & coeffRef (Index index) const
template<typename OtherDerived >
void copyCoeff (Index row, Index col, const DenseBase< OtherDerived > &other)
template<typename OtherDerived >
void copyCoeff (Index index, const DenseBase< OtherDerived > &other)
template<typename OtherDerived , int StoreMode, int LoadMode>
void copyPacket (Index row, Index col, const DenseBase< OtherDerived > &other)
template<typename OtherDerived , int StoreMode, int LoadMode>
void copyPacket (Index index, const DenseBase< OtherDerived > &other)

Protected Attributes

ExpressionType & m_expression

Member Typedef Documentation

template<typename ExpressionType >
typedef internal::dense_xpr_base<SwapWrapper>::type SwapWrapper< ExpressionType >::Base

Definition at line 45 of file Swap.h.

template<typename ExpressionType >
typedef internal::packet_traits<Scalar>::type SwapWrapper< ExpressionType >::Packet

Definition at line 47 of file Swap.h.


Constructor & Destructor Documentation

template<typename ExpressionType >
SwapWrapper< ExpressionType >::SwapWrapper ( ExpressionType &  xpr ) [inline]

Definition at line 49 of file Swap.h.


Member Function Documentation

template<typename ExpressionType >
Scalar& SwapWrapper< ExpressionType >::coeffRef ( Index  row,
Index  col 
) [inline]

Definition at line 56 of file Swap.h.

References SwapWrapper< ExpressionType >::m_expression.

template<typename ExpressionType >
Scalar& SwapWrapper< ExpressionType >::coeffRef ( Index  index ) const [inline]

Definition at line 71 of file Swap.h.

References SwapWrapper< ExpressionType >::m_expression.

template<typename ExpressionType >
Scalar& SwapWrapper< ExpressionType >::coeffRef ( Index  index ) [inline]

Definition at line 61 of file Swap.h.

References SwapWrapper< ExpressionType >::m_expression.

template<typename ExpressionType >
Scalar& SwapWrapper< ExpressionType >::coeffRef ( Index  row,
Index  col 
) const [inline]

Definition at line 66 of file Swap.h.

References SwapWrapper< ExpressionType >::m_expression.

template<typename ExpressionType >
Index SwapWrapper< ExpressionType >::cols ( void   ) const [inline]
template<typename ExpressionType >
template<typename OtherDerived >
void SwapWrapper< ExpressionType >::copyCoeff ( Index  row,
Index  col,
const DenseBase< OtherDerived > &  other 
) [inline]
template<typename ExpressionType >
template<typename OtherDerived >
void SwapWrapper< ExpressionType >::copyCoeff ( Index  index,
const DenseBase< OtherDerived > &  other 
) [inline]

Definition at line 88 of file Swap.h.

References eigen_internal_assert, and SwapWrapper< ExpressionType >::m_expression.

template<typename ExpressionType >
template<typename OtherDerived , int StoreMode, int LoadMode>
void SwapWrapper< ExpressionType >::copyPacket ( Index  row,
Index  col,
const DenseBase< OtherDerived > &  other 
) [inline]
template<typename ExpressionType >
template<typename OtherDerived , int StoreMode, int LoadMode>
void SwapWrapper< ExpressionType >::copyPacket ( Index  index,
const DenseBase< OtherDerived > &  other 
) [inline]

Definition at line 111 of file Swap.h.

References eigen_internal_assert, and SwapWrapper< ExpressionType >::m_expression.

template<typename ExpressionType >
Index SwapWrapper< ExpressionType >::innerStride (  ) const [inline]

Definition at line 54 of file Swap.h.

References SwapWrapper< ExpressionType >::m_expression.

template<typename ExpressionType >
Index SwapWrapper< ExpressionType >::outerStride (  ) const [inline]

Definition at line 53 of file Swap.h.

References SwapWrapper< ExpressionType >::m_expression.

template<typename ExpressionType >
Index SwapWrapper< ExpressionType >::rows ( void   ) const [inline]

Member Data Documentation

template<typename ExpressionType >
ExpressionType& SwapWrapper< ExpressionType >::m_expression [protected]



Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:46:17 UTC 2011