Public Types | Public Member Functions | Private Types | List of all members
Eigen::MapBase< Derived, WriteAccessors > Class Template Reference

Base class for non-const dense Map and Block expression with direct access. More...

#include <MapBase.h>

Inheritance diagram for Eigen::MapBase< Derived, WriteAccessors >:
Inheritance graph
[legend]

Public Types

typedef MapBase< Derived, ReadOnlyAccessorsBase
 
typedef Base::PacketScalar PacketScalar
 
typedef Base::PointerType PointerType
 
typedef Base::Scalar Scalar
 
typedef internal::conditional< internal::is_lvalue< Derived >::value, Scalar, const Scalar >::type ScalarWithConstIfNotLvalue
 
typedef Base::StorageIndex StorageIndex
 
- Public Types inherited from Eigen::MapBase< Derived, ReadOnlyAccessors >
enum  { RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, InnerStrideAtCompileTime = internal::traits<Derived>::InnerStrideAtCompileTime, SizeAtCompileTime = Base::SizeAtCompileTime }
 
typedef internal::dense_xpr_base< Derived >::type Base
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef internal::conditional< bool(internal::is_lvalue< Derived >::value), Scalar *, const Scalar * >::type PointerType
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef internal::traits< Derived >::Scalar Scalar
 
typedef internal::traits< Derived >::StorageKind StorageKind
 

Public Member Functions

EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvaluecoeffRef (Index index)
 
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvaluecoeffRef (Index row, Index col)
 
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvaluedata ()
 
const EIGEN_DEVICE_FUNC Scalardata () const
 
EIGEN_DEVICE_FUNC MapBase (PointerType dataPtr)
 
EIGEN_DEVICE_FUNC MapBase (PointerType dataPtr, Index rows, Index cols)
 
EIGEN_DEVICE_FUNC MapBase (PointerType dataPtr, Index vecSize)
 
EIGEN_DEVICE_FUNC Derived & operator= (const MapBase &other)
 
template<int StoreMode>
void writePacket (Index index, const PacketScalar &val)
 
template<int StoreMode>
void writePacket (Index row, Index col, const PacketScalar &val)
 
- Public Member Functions inherited from Eigen::MapBase< Derived, ReadOnlyAccessors >
const EIGEN_DEVICE_FUNC Scalarcoeff (Index index) const
 
const EIGEN_DEVICE_FUNC Scalarcoeff (Index rowId, Index colId) const
 
const EIGEN_DEVICE_FUNC ScalarcoeffRef (Index index) const
 
const EIGEN_DEVICE_FUNC ScalarcoeffRef (Index rowId, Index colId) const
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
 
const EIGEN_DEVICE_FUNC Scalardata () const
 
EIGEN_DEVICE_FUNC MapBase (PointerType dataPtr)
 
EIGEN_DEVICE_FUNC MapBase (PointerType dataPtr, Index rows, Index cols)
 
EIGEN_DEVICE_FUNC MapBase (PointerType dataPtr, Index vecSize)
 
template<int LoadMode>
PacketScalar packet (Index index) const
 
template<int LoadMode>
PacketScalar packet (Index rowId, Index colId) const
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
 

Private Types

typedef MapBase< Derived, ReadOnlyAccessorsReadOnlyMapBase
 

Additional Inherited Members

- Protected Member Functions inherited from Eigen::MapBase< Derived, ReadOnlyAccessors >
template<typename T >
EIGEN_DEVICE_FUNC void checkSanity (typename internal::enable_if< internal::traits< T >::Alignment==0, void * >::type=0) const
 
template<typename T >
EIGEN_DEVICE_FUNC void checkSanity (typename internal::enable_if<(internal::traits< T >::Alignment >0), void * >::type=0) const
 
- Protected Attributes inherited from Eigen::MapBase< Derived, ReadOnlyAccessors >
const internal::variable_if_dynamic< Index, ColsAtCompileTimem_cols
 
PointerType m_data
 
const internal::variable_if_dynamic< Index, RowsAtCompileTimem_rows
 

Detailed Description

template<typename Derived>
class Eigen::MapBase< Derived, WriteAccessors >

Base class for non-const dense Map and Block expression with direct access.

This base class provides the non-const low-level accessors (e.g. coeff and coeffRef) of dense Map and Block objects with direct access. It inherits MapBase<Derived, ReadOnlyAccessors> which defines the const variant for reading specific entries.

See also
class Map, class Block

Definition at line 223 of file MapBase.h.

Member Typedef Documentation

◆ Base

template<typename Derived >
typedef MapBase<Derived, ReadOnlyAccessors> Eigen::MapBase< Derived, WriteAccessors >::Base

Definition at line 229 of file MapBase.h.

◆ PacketScalar

template<typename Derived >
typedef Base::PacketScalar Eigen::MapBase< Derived, WriteAccessors >::PacketScalar

Definition at line 232 of file MapBase.h.

◆ PointerType

template<typename Derived >
typedef Base::PointerType Eigen::MapBase< Derived, WriteAccessors >::PointerType

Definition at line 234 of file MapBase.h.

◆ ReadOnlyMapBase

template<typename Derived >
typedef MapBase<Derived, ReadOnlyAccessors> Eigen::MapBase< Derived, WriteAccessors >::ReadOnlyMapBase
private

Definition at line 226 of file MapBase.h.

◆ Scalar

template<typename Derived >
typedef Base::Scalar Eigen::MapBase< Derived, WriteAccessors >::Scalar

Definition at line 231 of file MapBase.h.

◆ ScalarWithConstIfNotLvalue

template<typename Derived >
typedef internal::conditional< internal::is_lvalue<Derived>::value, Scalar, const Scalar >::type Eigen::MapBase< Derived, WriteAccessors >::ScalarWithConstIfNotLvalue

Definition at line 252 of file MapBase.h.

◆ StorageIndex

template<typename Derived >
typedef Base::StorageIndex Eigen::MapBase< Derived, WriteAccessors >::StorageIndex

Definition at line 233 of file MapBase.h.

Constructor & Destructor Documentation

◆ MapBase() [1/3]

template<typename Derived >
EIGEN_DEVICE_FUNC Eigen::MapBase< Derived, WriteAccessors >::MapBase ( PointerType  dataPtr)
inlineexplicit

Definition at line 287 of file MapBase.h.

◆ MapBase() [2/3]

template<typename Derived >
EIGEN_DEVICE_FUNC Eigen::MapBase< Derived, WriteAccessors >::MapBase ( PointerType  dataPtr,
Index  vecSize 
)
inline

Definition at line 288 of file MapBase.h.

◆ MapBase() [3/3]

template<typename Derived >
EIGEN_DEVICE_FUNC Eigen::MapBase< Derived, WriteAccessors >::MapBase ( PointerType  dataPtr,
Index  rows,
Index  cols 
)
inline

Definition at line 289 of file MapBase.h.

Member Function Documentation

◆ coeffRef() [1/2]

template<typename Derived >
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvalue& Eigen::MapBase< Derived, WriteAccessors >::coeffRef ( Index  index)
inline

Definition at line 266 of file MapBase.h.

◆ coeffRef() [2/2]

template<typename Derived >
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvalue& Eigen::MapBase< Derived, WriteAccessors >::coeffRef ( Index  row,
Index  col 
)
inline

Definition at line 260 of file MapBase.h.

◆ data() [1/2]

template<typename Derived >
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvalue* Eigen::MapBase< Derived, WriteAccessors >::data ( )
inline

Definition at line 257 of file MapBase.h.

◆ data() [2/2]

template<typename Derived >
const EIGEN_DEVICE_FUNC Scalar* Eigen::MapBase< Derived, WriteAccessors >::data ( ) const
inline

Definition at line 255 of file MapBase.h.

◆ operator=()

template<typename Derived >
EIGEN_DEVICE_FUNC Derived& Eigen::MapBase< Derived, WriteAccessors >::operator= ( const MapBase< Derived, WriteAccessors > &  other)
inline

Definition at line 292 of file MapBase.h.

◆ writePacket() [1/2]

template<typename Derived >
template<int StoreMode>
void Eigen::MapBase< Derived, WriteAccessors >::writePacket ( Index  index,
const PacketScalar val 
)
inline

Definition at line 280 of file MapBase.h.

◆ writePacket() [2/2]

template<typename Derived >
template<int StoreMode>
void Eigen::MapBase< Derived, WriteAccessors >::writePacket ( Index  row,
Index  col,
const PacketScalar val 
)
inline

Definition at line 273 of file MapBase.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Wed May 15 2024 15:28:22