Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Friends
Eigen::PlainObjectBase< Derived > Class Template Reference

Dense storage base class for matrices and arrays. More...

#include <PlainObjectBase.h>

Inheritance diagram for Eigen::PlainObjectBase< Derived >:
Inheritance graph
[legend]

List of all members.

Classes

struct  StridedAlignedMapType
struct  StridedConstAlignedMapType
struct  StridedConstMapType
struct  StridedMapType

Public Types

enum  { Options = internal::traits<Derived>::Options }
enum  { NeedsToAlign = SizeAtCompileTime != Dynamic && (internal::traits<Derived>::Flags & AlignedBit) != 0 }
typedef Eigen::Map< Derived,
Aligned
AlignedMapType
typedef
internal::dense_xpr_base
< Derived >::type 
Base
typedef const Eigen::Map
< const Derived, Aligned
ConstAlignedMapType
typedef const Eigen::Map
< const Derived, Unaligned
ConstMapType
typedef Derived DenseType
typedef internal::traits
< Derived >::Index 
Index
typedef Eigen::Map< Derived,
Unaligned
MapType
typedef
internal::packet_traits
< Scalar >::type 
PacketScalar
typedef NumTraits< Scalar >::Real RealScalar
typedef internal::traits
< Derived >::Scalar 
Scalar
typedef internal::traits
< Derived >::StorageKind 
StorageKind

Public Member Functions

Basebase ()
const Basebase () const
EIGEN_STRONG_INLINE const Scalarcoeff (Index rowId, Index colId) const
EIGEN_STRONG_INLINE const Scalarcoeff (Index index) const
EIGEN_STRONG_INLINE ScalarcoeffRef (Index rowId, Index colId)
EIGEN_STRONG_INLINE ScalarcoeffRef (Index index)
EIGEN_STRONG_INLINE const ScalarcoeffRef (Index rowId, Index colId) const
EIGEN_STRONG_INLINE const ScalarcoeffRef (Index index) const
EIGEN_STRONG_INLINE Index cols () const
EIGEN_STRONG_INLINE void conservativeResize (Index nbRows, Index nbCols)
EIGEN_STRONG_INLINE void conservativeResize (Index nbRows, NoChange_t)
EIGEN_STRONG_INLINE void conservativeResize (NoChange_t, Index nbCols)
EIGEN_STRONG_INLINE void conservativeResize (Index size)
template<typename OtherDerived >
EIGEN_STRONG_INLINE void conservativeResizeLike (const DenseBase< OtherDerived > &other)
EIGEN_STRONG_INLINE const Scalardata () const
EIGEN_STRONG_INLINE Scalardata ()
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived & lazyAssign (const DenseBase< OtherDerived > &other)
EIGEN_STRONG_INLINE Derived & operator= (const PlainObjectBase &other)
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived & operator= (const ReturnByValue< OtherDerived > &func)
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived & operator= (const EigenBase< OtherDerived > &other)
template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar packet (Index rowId, Index colId) const
template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar packet (Index index) const
EIGEN_STRONG_INLINE PlainObjectBase ()
 PlainObjectBase (internal::constructor_without_unaligned_array_assert)
EIGEN_STRONG_INLINE PlainObjectBase (Index a_size, Index nbRows, Index nbCols)
template<typename OtherDerived >
EIGEN_STRONG_INLINE PlainObjectBase (const EigenBase< OtherDerived > &other)
EIGEN_STRONG_INLINE void resize (Index nbRows, Index nbCols)
void resize (Index size)
void resize (NoChange_t, Index nbCols)
void resize (Index nbRows, NoChange_t)
template<typename OtherDerived >
EIGEN_STRONG_INLINE void resizeLike (const EigenBase< OtherDerived > &_other)
EIGEN_STRONG_INLINE Index rows () const
Derived & setConstant (Index size, const Scalar &value)
Derived & setConstant (Index rows, Index cols, const Scalar &value)
Derived & setOnes (Index size)
Derived & setOnes (Index rows, Index cols)
Derived & setRandom (Index size)
Derived & setRandom (Index rows, Index cols)
Derived & setZero (Index size)
Derived & setZero (Index rows, Index cols)
template<int StoreMode>
EIGEN_STRONG_INLINE void writePacket (Index rowId, Index colId, const PacketScalar &val)
template<int StoreMode>
EIGEN_STRONG_INLINE void writePacket (Index index, const PacketScalar &val)

Static Public Member Functions

static EIGEN_STRONG_INLINE void _check_template_params ()
Map

These are convenience functions returning Map objects. The Map() static functions return unaligned Map objects, while the AlignedMap() functions return aligned Map objects and thus should be called only with 16-byte-aligned data pointers.

See also:
class Map
static ConstMapType Map (const Scalar *data)
static MapType Map (Scalar *data)
static ConstMapType Map (const Scalar *data, Index size)
static MapType Map (Scalar *data, Index size)
static ConstMapType Map (const Scalar *data, Index rows, Index cols)
static MapType Map (Scalar *data, Index rows, Index cols)
static ConstAlignedMapType MapAligned (const Scalar *data)
static AlignedMapType MapAligned (Scalar *data)
static ConstAlignedMapType MapAligned (const Scalar *data, Index size)
static AlignedMapType MapAligned (Scalar *data, Index size)
static ConstAlignedMapType MapAligned (const Scalar *data, Index rows, Index cols)
static AlignedMapType MapAligned (Scalar *data, Index rows, Index cols)
template<int Outer, int Inner>
static StridedConstMapType
< Stride< Outer, Inner >
>::type 
Map (const Scalar *data, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static StridedMapType< Stride
< Outer, Inner > >::type 
Map (Scalar *data, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static StridedConstMapType
< Stride< Outer, Inner >
>::type 
Map (const Scalar *data, Index size, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static StridedMapType< Stride
< Outer, Inner > >::type 
Map (Scalar *data, Index size, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static StridedConstMapType
< Stride< Outer, Inner >
>::type 
Map (const Scalar *data, Index rows, Index cols, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static StridedMapType< Stride
< Outer, Inner > >::type 
Map (Scalar *data, Index rows, Index cols, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static
StridedConstAlignedMapType
< Stride< Outer, Inner >
>::type 
MapAligned (const Scalar *data, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static StridedAlignedMapType
< Stride< Outer, Inner >
>::type 
MapAligned (Scalar *data, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static
StridedConstAlignedMapType
< Stride< Outer, Inner >
>::type 
MapAligned (const Scalar *data, Index size, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static StridedAlignedMapType
< Stride< Outer, Inner >
>::type 
MapAligned (Scalar *data, Index size, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static
StridedConstAlignedMapType
< Stride< Outer, Inner >
>::type 
MapAligned (const Scalar *data, Index rows, Index cols, const Stride< Outer, Inner > &stride)
template<int Outer, int Inner>
static StridedAlignedMapType
< Stride< Outer, Inner >
>::type 
MapAligned (Scalar *data, Index rows, Index cols, const Stride< Outer, Inner > &stride)

Protected Member Functions

template<typename T0 , typename T1 >
EIGEN_STRONG_INLINE void _init2 (Index nbRows, Index nbCols, typename internal::enable_if< Base::SizeAtCompileTime!=2, T0 >::type *=0)
template<typename T0 , typename T1 >
EIGEN_STRONG_INLINE void _init2 (const Scalar &val0, const Scalar &val1, typename internal::enable_if< Base::SizeAtCompileTime==2, T0 >::type *=0)
template<typename OtherDerived >
EIGEN_STRONG_INLINE void _resize_to_match (const EigenBase< OtherDerived > &other)
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived & _set (const DenseBase< OtherDerived > &other)
 Copies the value of the expression other into *this with automatic resizing.
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived & _set_noalias (const DenseBase< OtherDerived > &other)
template<typename OtherDerived >
EIGEN_STRONG_INLINE void _set_selector (const OtherDerived &other, const internal::true_type &)
template<typename OtherDerived >
EIGEN_STRONG_INLINE void _set_selector (const OtherDerived &other, const internal::false_type &)
template<typename OtherDerived >
void _swap (DenseBase< OtherDerived > const &other)

Protected Attributes

DenseStorage< Scalar,
Base::MaxSizeAtCompileTime,
Base::RowsAtCompileTime,
Base::ColsAtCompileTime,
Options
m_storage

Private Types

enum  { ThisConstantIsPrivateInPlainObjectBase }

Friends

class Eigen::Map
class Eigen::Map< const Derived, Aligned >
class Eigen::Map< const Derived, Unaligned >
class Eigen::Map< Derived, Aligned >
class Eigen::Map< Derived, Unaligned >
struct internal::matrix_swap_impl

Detailed Description

template<typename Derived>
class Eigen::PlainObjectBase< Derived >

Dense storage base class for matrices and arrays.

This class can be extended with the help of the plugin mechanism described on the page TopicCustomizingEigen by defining the preprocessor symbol EIGEN_PLAINOBJECTBASE_PLUGIN.

See also:
TopicClassHierarchy

Definition at line 85 of file PlainObjectBase.h.


Member Typedef Documentation

template<typename Derived>
typedef Eigen::Map<Derived, Aligned> Eigen::PlainObjectBase< Derived >::AlignedMapType

Definition at line 114 of file PlainObjectBase.h.

template<typename Derived>
typedef internal::dense_xpr_base<Derived>::type Eigen::PlainObjectBase< Derived >::Base

Reimplemented in Eigen::GeneralProduct< Lhs, Rhs, InnerProduct >, Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols >, Eigen::Matrix< Scalar, RowsAtCompileTime, 1, Options, MaxRowsAtCompileTime, 1 >, Eigen::Matrix< ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, MatrixType::Options, MaxRowsAtCompileTime, MaxColsAtCompileTime >, Eigen::Matrix< Scalar, MatrixType::RowsAtCompileTime, MinSize >, Eigen::Matrix< double, Eigen::Dynamic, 1 >, Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor|Eigen::AutoAlign >, Eigen::Matrix< RealScalar, Dynamic, 1 >, Eigen::Matrix< int, 1, MatrixType::ColsAtCompileTime >, Eigen::Matrix< int, MatrixType::RowsAtCompileTime, 1 >, Eigen::Matrix< Scalar, HDim, HDim >, Eigen::Matrix< Scalar, 4, 1 >, Eigen::Matrix< Index, MatrixType::RowsAtCompileTime, 1 >, Eigen::Matrix< Scalar, 3, 1 >, Eigen::Matrix< internal::scalar_product_traits< Lhs::Scalar, Rhs::Scalar >::ReturnType, 1, 1 >, Eigen::Matrix< ComplexScalar, ColsAtCompileTime, 1, Options &(~RowMajor), MaxColsAtCompileTime, 1 >, Eigen::Matrix< Scalar, 1, Size, Options|RowMajor, 1, MaxSize >, Eigen::Matrix< Scalar, Dynamic, Dynamic >, Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor|Eigen::AutoAlign >, Eigen::Matrix< double, DPARM_SIZE, 1 >, Eigen::Matrix< Scalar, MatrixType::ColsAtCompileTime, MatrixType::ColsAtCompileTime >, Eigen::Matrix< T, Eigen::Dynamic, 1 >, Eigen::Matrix< Scalar, Dynamic, 1 >, Eigen::Matrix< RootType, _Deg, 1 >, Eigen::Matrix< Scalar, Dim, 1 >, Eigen::Matrix< Scalar, MinSize, 1 >, Eigen::Matrix< Scalar, DiagSizeAtCompileTime, DiagSizeAtCompileTime, MatrixOptions, MaxDiagSizeAtCompileTime, MaxDiagSizeAtCompileTime >, Eigen::Matrix< Scalar, SizeMinusOne, 1, Options &~RowMajor, MaxSizeMinusOne, 1 >, Eigen::Matrix< Scalar, ColsAtCompileTime, RowsAtCompileTime, Options, MaxColsAtCompileTime, MaxRowsAtCompileTime >, Eigen::Matrix< int, IPARM_SIZE, 1 >, Eigen::Matrix< Scalar, ColsAtCompileTime, 1, Options &~RowMajor, MaxColsAtCompileTime, 1 >, Eigen::Matrix< ComplexScalar, ColsAtCompileTime, 1, Options &~RowMajor, MaxColsAtCompileTime, 1 >, Eigen::Matrix< Scalar, 1, RowsAtCompileTime, RowMajor, 1, MaxRowsAtCompileTime >, Eigen::Matrix< Index, Dynamic, 1 >, Eigen::Matrix< Scalar, RowsAtCompileTime, RowsAtCompileTime, MatrixOptions, MaxRowsAtCompileTime, MaxRowsAtCompileTime >, Eigen::Matrix< Scalar, AmbientDimAtCompileTime, 1 >, Eigen::Matrix< Index, Traits::RowsAtCompileTime, 1 >, Eigen::Matrix< Scalar, ColsAtCompileTime, ColsAtCompileTime, MatrixOptions, MaxColsAtCompileTime, MaxColsAtCompileTime >, Eigen::Matrix< Scalar, int(AmbientDimAtCompileTime)==Dynamic?Dynamic:int(AmbientDimAtCompileTime)+1, 1 >, Eigen::Matrix< ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime, MaxColsAtCompileTime >, Eigen::Matrix< Scalar, Deg_1, 1 >, Eigen::Matrix< Scalar, Deg, 1 >, Eigen::Matrix< Index, 1, ColsAtCompileTime, RowMajor, 1, MaxColsAtCompileTime >, GenericVector< T >, GenericVector< double >, GenericMatrix< T >, GenericMatrix< double >, Eigen::Array< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols >, and Eigen::Array< Index, 64, 1, DontAlign >.

Definition at line 90 of file PlainObjectBase.h.

template<typename Derived>
typedef const Eigen::Map<const Derived, Aligned> Eigen::PlainObjectBase< Derived >::ConstAlignedMapType

Definition at line 116 of file PlainObjectBase.h.

template<typename Derived>
typedef const Eigen::Map<const Derived, Unaligned> Eigen::PlainObjectBase< Derived >::ConstMapType

Definition at line 112 of file PlainObjectBase.h.

template<typename Derived>
typedef Derived Eigen::PlainObjectBase< Derived >::DenseType

Definition at line 97 of file PlainObjectBase.h.

template<typename Derived>
typedef internal::traits<Derived>::Index Eigen::PlainObjectBase< Derived >::Index

Definition at line 93 of file PlainObjectBase.h.

template<typename Derived>
typedef Eigen::Map<Derived, Unaligned> Eigen::PlainObjectBase< Derived >::MapType

Definition at line 110 of file PlainObjectBase.h.

template<typename Derived>
typedef internal::packet_traits<Scalar>::type Eigen::PlainObjectBase< Derived >::PacketScalar

Definition at line 95 of file PlainObjectBase.h.

template<typename Derived>
typedef NumTraits<Scalar>::Real Eigen::PlainObjectBase< Derived >::RealScalar

Definition at line 96 of file PlainObjectBase.h.

template<typename Derived>
typedef internal::traits<Derived>::Scalar Eigen::PlainObjectBase< Derived >::Scalar

Definition at line 94 of file PlainObjectBase.h.

template<typename Derived>
typedef internal::traits<Derived>::StorageKind Eigen::PlainObjectBase< Derived >::StorageKind

Definition at line 92 of file PlainObjectBase.h.


Member Enumeration Documentation

template<typename Derived>
anonymous enum
Enumerator:
Options 

Definition at line 89 of file PlainObjectBase.h.

template<typename Derived>
anonymous enum
Enumerator:
NeedsToAlign 

Definition at line 126 of file PlainObjectBase.h.

template<typename Derived>
anonymous enum [private]
Enumerator:
ThisConstantIsPrivateInPlainObjectBase 

Definition at line 668 of file PlainObjectBase.h.


Constructor & Destructor Documentation

template<typename Derived>
EIGEN_STRONG_INLINE Eigen::PlainObjectBase< Derived >::PlainObjectBase ( ) [inline]

Definition at line 421 of file PlainObjectBase.h.

Definition at line 430 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE Eigen::PlainObjectBase< Derived >::PlainObjectBase ( Index  a_size,
Index  nbRows,
Index  nbCols 
) [inline]

Definition at line 437 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE Eigen::PlainObjectBase< Derived >::PlainObjectBase ( const EigenBase< OtherDerived > &  other) [inline]

Member Function Documentation

template<typename Derived>
static EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::_check_template_params ( ) [inline, static]

Definition at line 652 of file PlainObjectBase.h.

template<typename Derived>
template<typename T0 , typename T1 >
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::_init2 ( Index  nbRows,
Index  nbCols,
typename internal::enable_if< Base::SizeAtCompileTime!=2, T0 >::type = 0 
) [inline, protected]

Definition at line 622 of file PlainObjectBase.h.

template<typename Derived>
template<typename T0 , typename T1 >
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::_init2 ( const Scalar val0,
const Scalar val1,
typename internal::enable_if< Base::SizeAtCompileTime==2, T0 >::type = 0 
) [inline, protected]

Definition at line 630 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::_resize_to_match ( const EigenBase< OtherDerived > &  other) [inline, protected]

Definition at line 566 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived& Eigen::PlainObjectBase< Derived >::_set ( const DenseBase< OtherDerived > &  other) [inline, protected]

Copies the value of the expression other into *this with automatic resizing.

*this might be resized to match the dimensions of other. If *this was a null matrix (not already initialized), it will be initialized.

Note that copying a row-vector into a vector (and conversely) is allowed. The resizing, if any, is then done in the appropriate way so that row-vectors remain row-vectors and vectors remain vectors.

See also:
operator=(const MatrixBase<OtherDerived>&), _set_noalias()

Definition at line 593 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived& Eigen::PlainObjectBase< Derived >::_set_noalias ( const DenseBase< OtherDerived > &  other) [inline, protected]

Definition at line 611 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::_set_selector ( const OtherDerived &  other,
const internal::true_type  
) [inline, protected]

Definition at line 600 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::_set_selector ( const OtherDerived &  other,
const internal::false_type  
) [inline, protected]

Definition at line 603 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
void Eigen::PlainObjectBase< Derived >::_swap ( DenseBase< OtherDerived > const &  other) [inline, protected]

Definition at line 644 of file PlainObjectBase.h.

template<typename Derived>
Base& Eigen::PlainObjectBase< Derived >::base ( ) [inline]

Definition at line 129 of file PlainObjectBase.h.

template<typename Derived>
const Base& Eigen::PlainObjectBase< Derived >::base ( ) const [inline]

Definition at line 130 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE const Scalar& Eigen::PlainObjectBase< Derived >::coeff ( Index  rowId,
Index  colId 
) const [inline]

Definition at line 135 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE const Scalar& Eigen::PlainObjectBase< Derived >::coeff ( Index  index) const [inline]

Definition at line 143 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE Scalar& Eigen::PlainObjectBase< Derived >::coeffRef ( Index  rowId,
Index  colId 
) [inline]

Definition at line 148 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE Scalar& Eigen::PlainObjectBase< Derived >::coeffRef ( Index  index) [inline]

Definition at line 156 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE const Scalar& Eigen::PlainObjectBase< Derived >::coeffRef ( Index  rowId,
Index  colId 
) const [inline]

Definition at line 161 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE const Scalar& Eigen::PlainObjectBase< Derived >::coeffRef ( Index  index) const [inline]

Definition at line 169 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE Index Eigen::PlainObjectBase< Derived >::cols ( void  ) const [inline]

Definition at line 133 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::conservativeResize ( Index  nbRows,
Index  nbCols 
) [inline]

Resizes the matrix to rows x cols while leaving old values untouched.

The method is intended for matrices of dynamic size. If you only want to change the number of rows and/or of columns, you can use conservativeResize(NoChange_t, Index) or conservativeResize(Index, NoChange_t).

Matrices are resized relative to the top-left element. In case values need to be appended to the matrix they will be uninitialized.

Definition at line 339 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::conservativeResize ( Index  nbRows,
NoChange_t   
) [inline]

Resizes the matrix to rows x cols while leaving old values untouched.

As opposed to conservativeResize(Index rows, Index cols), this version leaves the number of columns unchanged.

In case the matrix is growing, new rows will be uninitialized.

Definition at line 351 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::conservativeResize ( NoChange_t  ,
Index  nbCols 
) [inline]

Resizes the matrix to rows x cols while leaving old values untouched.

As opposed to conservativeResize(Index rows, Index cols), this version leaves the number of rows unchanged.

In case the matrix is growing, new columns will be uninitialized.

Definition at line 364 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::conservativeResize ( Index  size) [inline]

Resizes the vector to size while retaining old values.

. This method does not work for partially dynamic matrices when the static dimension is anything other than 1. For example it will not work with Matrix<double, 2, Dynamic>.

When values are appended, they will be uninitialized.

Definition at line 378 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::conservativeResizeLike ( const DenseBase< OtherDerived > &  other) [inline]

Resizes the matrix to rows x cols of other, while leaving old values untouched.

The method is intended for matrices of dynamic size. If you only want to change the number of rows and/or of columns, you can use conservativeResize(NoChange_t, Index) or conservativeResize(Index, NoChange_t).

Matrices are resized relative to the top-left element. In case values need to be appended to the matrix they will copied from other.

Definition at line 393 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE const Scalar* Eigen::PlainObjectBase< Derived >::data ( ) const [inline]
Returns:
a const pointer to the data array of this matrix

Definition at line 209 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE Scalar* Eigen::PlainObjectBase< Derived >::data ( ) [inline]
Returns:
a pointer to the data array of this matrix

Definition at line 213 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived& Eigen::PlainObjectBase< Derived >::lazyAssign ( const DenseBase< OtherDerived > &  other) [inline]
See also:
MatrixBase::lazyAssign()

Definition at line 408 of file PlainObjectBase.h.

template<typename Derived>
static ConstMapType Eigen::PlainObjectBase< Derived >::Map ( const Scalar data) [inline, static]

Definition at line 472 of file PlainObjectBase.h.

template<typename Derived>
static MapType Eigen::PlainObjectBase< Derived >::Map ( Scalar data) [inline, static]

Definition at line 474 of file PlainObjectBase.h.

template<typename Derived>
static ConstMapType Eigen::PlainObjectBase< Derived >::Map ( const Scalar data,
Index  size 
) [inline, static]

Definition at line 476 of file PlainObjectBase.h.

template<typename Derived>
static MapType Eigen::PlainObjectBase< Derived >::Map ( Scalar data,
Index  size 
) [inline, static]

Definition at line 478 of file PlainObjectBase.h.

template<typename Derived>
static ConstMapType Eigen::PlainObjectBase< Derived >::Map ( const Scalar data,
Index  rows,
Index  cols 
) [inline, static]

Definition at line 480 of file PlainObjectBase.h.

template<typename Derived>
static MapType Eigen::PlainObjectBase< Derived >::Map ( Scalar data,
Index  rows,
Index  cols 
) [inline, static]

Definition at line 482 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedConstMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::Map ( const Scalar data,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 499 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::Map ( Scalar data,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 502 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedConstMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::Map ( const Scalar data,
Index  size,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 505 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::Map ( Scalar data,
Index  size,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 508 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedConstMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::Map ( const Scalar data,
Index  rows,
Index  cols,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 511 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::Map ( Scalar data,
Index  rows,
Index  cols,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 514 of file PlainObjectBase.h.

template<typename Derived>
static ConstAlignedMapType Eigen::PlainObjectBase< Derived >::MapAligned ( const Scalar data) [inline, static]

Definition at line 485 of file PlainObjectBase.h.

template<typename Derived>
static AlignedMapType Eigen::PlainObjectBase< Derived >::MapAligned ( Scalar data) [inline, static]

Definition at line 487 of file PlainObjectBase.h.

template<typename Derived>
static ConstAlignedMapType Eigen::PlainObjectBase< Derived >::MapAligned ( const Scalar data,
Index  size 
) [inline, static]

Definition at line 489 of file PlainObjectBase.h.

template<typename Derived>
static AlignedMapType Eigen::PlainObjectBase< Derived >::MapAligned ( Scalar data,
Index  size 
) [inline, static]

Definition at line 491 of file PlainObjectBase.h.

template<typename Derived>
static ConstAlignedMapType Eigen::PlainObjectBase< Derived >::MapAligned ( const Scalar data,
Index  rows,
Index  cols 
) [inline, static]

Definition at line 493 of file PlainObjectBase.h.

template<typename Derived>
static AlignedMapType Eigen::PlainObjectBase< Derived >::MapAligned ( Scalar data,
Index  rows,
Index  cols 
) [inline, static]

Definition at line 495 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedConstAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::MapAligned ( const Scalar data,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 518 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::MapAligned ( Scalar data,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 521 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedConstAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::MapAligned ( const Scalar data,
Index  size,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 524 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::MapAligned ( Scalar data,
Index  size,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 527 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedConstAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::MapAligned ( const Scalar data,
Index  rows,
Index  cols,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 530 of file PlainObjectBase.h.

template<typename Derived>
template<int Outer, int Inner>
static StridedAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Derived >::MapAligned ( Scalar data,
Index  rows,
Index  cols,
const Stride< Outer, Inner > &  stride 
) [inline, static]

Definition at line 533 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE Derived& Eigen::PlainObjectBase< Derived >::operator= ( const PlainObjectBase< Derived > &  other) [inline]

This is a special case of the templated operator=. Its purpose is to prevent a default operator= from hiding the templated operator=.

Definition at line 401 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived& Eigen::PlainObjectBase< Derived >::operator= ( const ReturnByValue< OtherDerived > &  func) [inline]

Reimplemented in Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols >, Eigen::Matrix< Scalar, RowsAtCompileTime, 1, Options, MaxRowsAtCompileTime, 1 >, Eigen::Matrix< ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, MatrixType::Options, MaxRowsAtCompileTime, MaxColsAtCompileTime >, Eigen::Matrix< Scalar, MatrixType::RowsAtCompileTime, MinSize >, Eigen::Matrix< double, Eigen::Dynamic, 1 >, Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor|Eigen::AutoAlign >, Eigen::Matrix< RealScalar, Dynamic, 1 >, Eigen::Matrix< int, 1, MatrixType::ColsAtCompileTime >, Eigen::Matrix< int, MatrixType::RowsAtCompileTime, 1 >, Eigen::Matrix< Scalar, HDim, HDim >, Eigen::Matrix< Scalar, 4, 1 >, Eigen::Matrix< Index, MatrixType::RowsAtCompileTime, 1 >, Eigen::Matrix< Scalar, 3, 1 >, Eigen::Matrix< internal::scalar_product_traits< Lhs::Scalar, Rhs::Scalar >::ReturnType, 1, 1 >, Eigen::Matrix< ComplexScalar, ColsAtCompileTime, 1, Options &(~RowMajor), MaxColsAtCompileTime, 1 >, Eigen::Matrix< Scalar, 1, Size, Options|RowMajor, 1, MaxSize >, Eigen::Matrix< Scalar, Dynamic, Dynamic >, Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor|Eigen::AutoAlign >, Eigen::Matrix< double, DPARM_SIZE, 1 >, Eigen::Matrix< Scalar, MatrixType::ColsAtCompileTime, MatrixType::ColsAtCompileTime >, Eigen::Matrix< T, Eigen::Dynamic, 1 >, Eigen::Matrix< Scalar, Dynamic, 1 >, Eigen::Matrix< RootType, _Deg, 1 >, Eigen::Matrix< Scalar, Dim, 1 >, Eigen::Matrix< Scalar, MinSize, 1 >, Eigen::Matrix< Scalar, DiagSizeAtCompileTime, DiagSizeAtCompileTime, MatrixOptions, MaxDiagSizeAtCompileTime, MaxDiagSizeAtCompileTime >, Eigen::Matrix< Scalar, SizeMinusOne, 1, Options &~RowMajor, MaxSizeMinusOne, 1 >, Eigen::Matrix< Scalar, ColsAtCompileTime, RowsAtCompileTime, Options, MaxColsAtCompileTime, MaxRowsAtCompileTime >, Eigen::Matrix< int, IPARM_SIZE, 1 >, Eigen::Matrix< Scalar, ColsAtCompileTime, 1, Options &~RowMajor, MaxColsAtCompileTime, 1 >, Eigen::Matrix< ComplexScalar, ColsAtCompileTime, 1, Options &~RowMajor, MaxColsAtCompileTime, 1 >, Eigen::Matrix< Scalar, 1, RowsAtCompileTime, RowMajor, 1, MaxRowsAtCompileTime >, Eigen::Matrix< Index, Dynamic, 1 >, Eigen::Matrix< Scalar, RowsAtCompileTime, RowsAtCompileTime, MatrixOptions, MaxRowsAtCompileTime, MaxRowsAtCompileTime >, Eigen::Matrix< Scalar, AmbientDimAtCompileTime, 1 >, Eigen::Matrix< Index, Traits::RowsAtCompileTime, 1 >, Eigen::Matrix< Scalar, ColsAtCompileTime, ColsAtCompileTime, MatrixOptions, MaxColsAtCompileTime, MaxColsAtCompileTime >, Eigen::Matrix< Scalar, int(AmbientDimAtCompileTime)==Dynamic?Dynamic:int(AmbientDimAtCompileTime)+1, 1 >, Eigen::Matrix< ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime, MaxColsAtCompileTime >, Eigen::Matrix< Scalar, Deg_1, 1 >, Eigen::Matrix< Scalar, Deg, 1 >, and Eigen::Matrix< Index, 1, ColsAtCompileTime, RowMajor, 1, MaxColsAtCompileTime >.

Definition at line 415 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived& Eigen::PlainObjectBase< Derived >::operator= ( const EigenBase< OtherDerived > &  other) [inline]

Copies the generic expression other into *this.

The expression must provide a (templated) evalTo(Derived& dst) const function which does the actual job. In practice, this allows any user to write its own special matrix without having to modify MatrixBase

Returns:
a reference to *this.

Reimplemented in Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols >, Eigen::Matrix< Scalar, RowsAtCompileTime, 1, Options, MaxRowsAtCompileTime, 1 >, Eigen::Matrix< ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, MatrixType::Options, MaxRowsAtCompileTime, MaxColsAtCompileTime >, Eigen::Matrix< Scalar, MatrixType::RowsAtCompileTime, MinSize >, Eigen::Matrix< double, Eigen::Dynamic, 1 >, Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor|Eigen::AutoAlign >, Eigen::Matrix< RealScalar, Dynamic, 1 >, Eigen::Matrix< int, 1, MatrixType::ColsAtCompileTime >, Eigen::Matrix< int, MatrixType::RowsAtCompileTime, 1 >, Eigen::Matrix< Scalar, HDim, HDim >, Eigen::Matrix< Scalar, 4, 1 >, Eigen::Matrix< Index, MatrixType::RowsAtCompileTime, 1 >, Eigen::Matrix< Scalar, 3, 1 >, Eigen::Matrix< internal::scalar_product_traits< Lhs::Scalar, Rhs::Scalar >::ReturnType, 1, 1 >, Eigen::Matrix< ComplexScalar, ColsAtCompileTime, 1, Options &(~RowMajor), MaxColsAtCompileTime, 1 >, Eigen::Matrix< Scalar, 1, Size, Options|RowMajor, 1, MaxSize >, Eigen::Matrix< Scalar, Dynamic, Dynamic >, Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor|Eigen::AutoAlign >, Eigen::Matrix< double, DPARM_SIZE, 1 >, Eigen::Matrix< Scalar, MatrixType::ColsAtCompileTime, MatrixType::ColsAtCompileTime >, Eigen::Matrix< T, Eigen::Dynamic, 1 >, Eigen::Matrix< Scalar, Dynamic, 1 >, Eigen::Matrix< RootType, _Deg, 1 >, Eigen::Matrix< Scalar, Dim, 1 >, Eigen::Matrix< Scalar, MinSize, 1 >, Eigen::Matrix< Scalar, DiagSizeAtCompileTime, DiagSizeAtCompileTime, MatrixOptions, MaxDiagSizeAtCompileTime, MaxDiagSizeAtCompileTime >, Eigen::Matrix< Scalar, SizeMinusOne, 1, Options &~RowMajor, MaxSizeMinusOne, 1 >, Eigen::Matrix< Scalar, ColsAtCompileTime, RowsAtCompileTime, Options, MaxColsAtCompileTime, MaxRowsAtCompileTime >, Eigen::Matrix< int, IPARM_SIZE, 1 >, Eigen::Matrix< Scalar, ColsAtCompileTime, 1, Options &~RowMajor, MaxColsAtCompileTime, 1 >, Eigen::Matrix< ComplexScalar, ColsAtCompileTime, 1, Options &~RowMajor, MaxColsAtCompileTime, 1 >, Eigen::Matrix< Scalar, 1, RowsAtCompileTime, RowMajor, 1, MaxRowsAtCompileTime >, Eigen::Matrix< Index, Dynamic, 1 >, Eigen::Matrix< Scalar, RowsAtCompileTime, RowsAtCompileTime, MatrixOptions, MaxRowsAtCompileTime, MaxRowsAtCompileTime >, Eigen::Matrix< Scalar, AmbientDimAtCompileTime, 1 >, Eigen::Matrix< Index, Traits::RowsAtCompileTime, 1 >, Eigen::Matrix< Scalar, ColsAtCompileTime, ColsAtCompileTime, MatrixOptions, MaxColsAtCompileTime, MaxColsAtCompileTime >, Eigen::Matrix< Scalar, int(AmbientDimAtCompileTime)==Dynamic?Dynamic:int(AmbientDimAtCompileTime)+1, 1 >, Eigen::Matrix< ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime, MaxColsAtCompileTime >, Eigen::Matrix< Scalar, Deg_1, 1 >, Eigen::Matrix< Scalar, Deg, 1 >, Eigen::Matrix< Index, 1, ColsAtCompileTime, RowMajor, 1, MaxColsAtCompileTime >, Eigen::Array< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols >, and Eigen::Array< Index, 64, 1, DontAlign >.

Definition at line 447 of file PlainObjectBase.h.

template<typename Derived>
template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar Eigen::PlainObjectBase< Derived >::packet ( Index  rowId,
Index  colId 
) const [inline]

Definition at line 176 of file PlainObjectBase.h.

template<typename Derived>
template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar Eigen::PlainObjectBase< Derived >::packet ( Index  index) const [inline]

Definition at line 186 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::resize ( Index  nbRows,
Index  nbCols 
) [inline]

Resizes *this to a rows x cols matrix.

This method is intended for dynamic-size matrices, although it is legal to call it on any matrix as long as fixed dimensions are left unchanged. If you only want to change the number of rows and/or of columns, you can use resize(NoChange_t, Index), resize(Index, NoChange_t).

If the current number of coefficients of *this exactly matches the product rows * cols, then no memory allocation is performed and the current values are left unchanged. In all other cases, including shrinking, the data is reallocated and all previous values are lost.

Example:

Output:

See also:
resize(Index) for vectors, resize(NoChange_t, Index), resize(Index, NoChange_t)

Definition at line 232 of file PlainObjectBase.h.

template<typename Derived>
void Eigen::PlainObjectBase< Derived >::resize ( Index  size) [inline]

Resizes *this to a vector of length size

. This method does not work for partially dynamic matrices when the static dimension is anything other than 1. For example it will not work with Matrix<double, 2, Dynamic>.

Example:

Output:

See also:
resize(Index,Index), resize(NoChange_t, Index), resize(Index, NoChange_t)

Definition at line 262 of file PlainObjectBase.h.

template<typename Derived>
void Eigen::PlainObjectBase< Derived >::resize ( NoChange_t  ,
Index  nbCols 
) [inline]

Resizes the matrix, changing only the number of columns. For the parameter of type NoChange_t, just pass the special value NoChange as in the example below.

Example:

Output:

See also:
resize(Index,Index)

Definition at line 286 of file PlainObjectBase.h.

template<typename Derived>
void Eigen::PlainObjectBase< Derived >::resize ( Index  nbRows,
NoChange_t   
) [inline]

Resizes the matrix, changing only the number of rows. For the parameter of type NoChange_t, just pass the special value NoChange as in the example below.

Example:

Output:

See also:
resize(Index,Index)

Definition at line 299 of file PlainObjectBase.h.

template<typename Derived>
template<typename OtherDerived >
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::resizeLike ( const EigenBase< OtherDerived > &  _other) [inline]

Resizes *this to have the same dimensions as other. Takes care of doing all the checking that's needed.

Note that copying a row-vector into a vector (and conversely) is allowed. The resizing, if any, is then done in the appropriate way so that row-vectors remain row-vectors and vectors remain vectors.

Definition at line 312 of file PlainObjectBase.h.

template<typename Derived>
EIGEN_STRONG_INLINE Index Eigen::PlainObjectBase< Derived >::rows ( void  ) const [inline]

Definition at line 132 of file PlainObjectBase.h.

template<typename Derived >
EIGEN_STRONG_INLINE Derived & Eigen::PlainObjectBase< Derived >::setConstant ( Index  size,
const Scalar val 
)

Resizes to the given size, and sets all coefficients in this expression to the given value.

Example:

Output:

See also:
MatrixBase::setConstant(const Scalar&), setConstant(Index,Index,const Scalar&), class CwiseNullaryOp, MatrixBase::Constant(const Scalar&)

Definition at line 348 of file CwiseNullaryOp.h.

template<typename Derived >
EIGEN_STRONG_INLINE Derived & Eigen::PlainObjectBase< Derived >::setConstant ( Index  nbRows,
Index  nbCols,
const Scalar val 
)

Resizes to the given size, and sets all coefficients in this expression to the given value.

Parameters:
nbRowsthe new number of rows
nbColsthe new number of columns
valthe value to which all coefficients are set

Example:

Output:

See also:
MatrixBase::setConstant(const Scalar&), setConstant(Index,const Scalar&), class CwiseNullaryOp, MatrixBase::Constant(const Scalar&)

Definition at line 367 of file CwiseNullaryOp.h.

template<typename Derived >
EIGEN_STRONG_INLINE Derived & Eigen::PlainObjectBase< Derived >::setOnes ( Index  newSize)

Resizes to the given newSize, and sets all coefficients in this expression to one.

Example:

Output:

See also:
MatrixBase::setOnes(), setOnes(Index,Index), class CwiseNullaryOp, MatrixBase::Ones()

Definition at line 641 of file CwiseNullaryOp.h.

template<typename Derived >
EIGEN_STRONG_INLINE Derived & Eigen::PlainObjectBase< Derived >::setOnes ( Index  nbRows,
Index  nbCols 
)

Resizes to the given size, and sets all coefficients in this expression to one.

Parameters:
nbRowsthe new number of rows
nbColsthe new number of columns

Example:

Output:

See also:
MatrixBase::setOnes(), setOnes(Index), class CwiseNullaryOp, MatrixBase::Ones()

Definition at line 659 of file CwiseNullaryOp.h.

template<typename Derived >
EIGEN_STRONG_INLINE Derived & Eigen::PlainObjectBase< Derived >::setRandom ( Index  newSize)

Resizes to the given newSize, and sets all coefficients in this expression to random values.

Example:

Output:

See also:
MatrixBase::setRandom(), setRandom(Index,Index), class CwiseNullaryOp, MatrixBase::Random()

Definition at line 126 of file Random.h.

template<typename Derived >
EIGEN_STRONG_INLINE Derived & Eigen::PlainObjectBase< Derived >::setRandom ( Index  nbRows,
Index  nbCols 
)

Resizes to the given size, and sets all coefficients in this expression to random values.

Parameters:
nbRowsthe new number of rows
nbColsthe new number of columns

Example:

Output:

See also:
MatrixBase::setRandom(), setRandom(Index), class CwiseNullaryOp, MatrixBase::Random()

Definition at line 144 of file Random.h.

template<typename Derived >
EIGEN_STRONG_INLINE Derived & Eigen::PlainObjectBase< Derived >::setZero ( Index  newSize)

Resizes to the given size, and sets all coefficients in this expression to zero.

Example:

Output:

See also:
DenseBase::setZero(), setZero(Index,Index), class CwiseNullaryOp, DenseBase::Zero()

Definition at line 515 of file CwiseNullaryOp.h.

template<typename Derived >
EIGEN_STRONG_INLINE Derived & Eigen::PlainObjectBase< Derived >::setZero ( Index  nbRows,
Index  nbCols 
)

Resizes to the given size, and sets all coefficients in this expression to zero.

Parameters:
nbRowsthe new number of rows
nbColsthe new number of columns

Example:

Output:

See also:
DenseBase::setZero(), setZero(Index), class CwiseNullaryOp, DenseBase::Zero()

Definition at line 533 of file CwiseNullaryOp.h.

template<typename Derived>
template<int StoreMode>
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::writePacket ( Index  rowId,
Index  colId,
const PacketScalar val 
) [inline]

Definition at line 193 of file PlainObjectBase.h.

template<typename Derived>
template<int StoreMode>
EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Derived >::writePacket ( Index  index,
const PacketScalar val 
) [inline]

Definition at line 203 of file PlainObjectBase.h.


Friends And Related Function Documentation

template<typename Derived>
friend class Eigen::Map [friend]

Definition at line 108 of file PlainObjectBase.h.

template<typename Derived>
friend class Eigen::Map< const Derived, Aligned > [friend]

Definition at line 115 of file PlainObjectBase.h.

template<typename Derived>
friend class Eigen::Map< const Derived, Unaligned > [friend]

Definition at line 111 of file PlainObjectBase.h.

template<typename Derived>
friend class Eigen::Map< Derived, Aligned > [friend]

Definition at line 113 of file PlainObjectBase.h.

template<typename Derived>
friend class Eigen::Map< Derived, Unaligned > [friend]

Definition at line 109 of file PlainObjectBase.h.

template<typename Derived>
friend struct internal::matrix_swap_impl [friend]

Member Data Documentation

template<typename Derived>
DenseStorage<Scalar, Base::MaxSizeAtCompileTime, Base::RowsAtCompileTime, Base::ColsAtCompileTime, Options> Eigen::PlainObjectBase< Derived >::m_storage [protected]

Definition at line 123 of file PlainObjectBase.h.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Sat Jun 8 2019 19:40:51