compbio
Public Types | Public Member Functions | 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 >:
Eigen::MapBase< Derived, ReadOnlyAccessors >

Public Types

typedef MapBase< Derived, ReadOnlyAccessorsBase
 
typedef Base::Scalar Scalar
 
typedef Base::PacketScalar PacketScalar
 
typedef Base::StorageIndex StorageIndex
 
typedef Base::PointerType PointerType
 
typedef internal::conditional< internal::is_lvalue< Derived >::value, Scalar, const Scalar >::type ScalarWithConstIfNotLvalue
 
- 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 internal::traits< Derived >::StorageKind StorageKind
 
typedef internal::traits< Derived >::Scalar Scalar
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef internal::conditional< bool(internal::is_lvalue< Derived >::value), Scalar *, const Scalar * >::type PointerType
 
typedef Base::CoeffReturnType CoeffReturnType
 

Public Member Functions

EIGEN_DEVICE_FUNC const Scalar * data () const
 
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvaluedata ()
 
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvaluecoeffRef (Index row, Index col)
 
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvaluecoeffRef (Index index)
 
template<int StoreMode>
void writePacket (Index row, Index col, const PacketScalar &val)
 
template<int StoreMode>
void writePacket (Index index, const PacketScalar &val)
 
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)
 
- Public Member Functions inherited from Eigen::MapBase< Derived, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC Index rows () const
 
EIGEN_DEVICE_FUNC Index cols () const
 
EIGEN_DEVICE_FUNC const Scalar * data () const
 Returns a pointer to the first coefficient of the matrix or vector. More...
 
EIGEN_DEVICE_FUNC const Scalar & coeff (Index rowId, Index colId) const
 This is an overloaded version of DenseCoeffsBase<Derived,ReadOnlyAccessors>::coeff(Index,Index) const provided to by-pass the creation of an evaluator of the expression, thus saving compilation efforts. More...
 
EIGEN_DEVICE_FUNC const Scalar & coeff (Index index) const
 This is an overloaded version of DenseCoeffsBase<Derived,ReadOnlyAccessors>::coeff(Index) const provided to by-pass the creation of an evaluator of the expression, thus saving compilation efforts. More...
 
EIGEN_DEVICE_FUNC const Scalar & coeffRef (Index rowId, Index colId) const
 This is the const version of coeffRef(Index,Index) which is thus synonym of coeff(Index,Index). More...
 
EIGEN_DEVICE_FUNC const Scalar & coeffRef (Index index) const
 This is the const version of coeffRef(Index) which is thus synonym of coeff(Index). More...
 
template<int LoadMode>
PacketScalar packet (Index rowId, Index colId) const
 
template<int LoadMode>
PacketScalar packet (Index index) 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)
 

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 >
PointerType m_data
 
const internal::variable_if_dynamic< Index, RowsAtCompileTime > m_rows
 
const internal::variable_if_dynamic< Index, ColsAtCompileTime > m_cols
 

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

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