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

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 215 of file MapBase.h.

Member Typedef Documentation

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

Definition at line 221 of file MapBase.h.

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

Definition at line 224 of file MapBase.h.

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

Definition at line 226 of file MapBase.h.

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

Definition at line 218 of file MapBase.h.

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

Definition at line 223 of file MapBase.h.

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

Definition at line 244 of file MapBase.h.

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

Definition at line 225 of file MapBase.h.

Constructor & Destructor Documentation

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

Definition at line 279 of file MapBase.h.

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

Definition at line 280 of file MapBase.h.

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

Definition at line 281 of file MapBase.h.

Member Function Documentation

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

Definition at line 252 of file MapBase.h.

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

Definition at line 258 of file MapBase.h.

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

Definition at line 247 of file MapBase.h.

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

Definition at line 249 of file MapBase.h.

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

Definition at line 284 of file MapBase.h.

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

Definition at line 265 of file MapBase.h.

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

Definition at line 272 of file MapBase.h.


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


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:10:07