Eigen::NestByValue< ExpressionType > Class Template Reference

Expression which must be nested by value. More...

#include <NestByValue.h>

+ Inheritance diagram for Eigen::NestByValue< ExpressionType >:

Public Types

typedef internal::dense_xpr_base< NestByValue >::type Base
 

Public Member Functions

EIGEN_DEVICE_FUNC NestByValue (const ExpressionType &matrix)
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC operator const ExpressionType & () const
 
EIGEN_DEVICE_FUNC const ExpressionType & nestedExpression () const
 
EIGEN_DEVICE_FUNC std::enable_if< HasDirectAccess, const Scalar * >::type data () const
 
EIGEN_DEVICE_FUNC std::enable_if< HasDirectAccess, Index >::type innerStride () const
 
EIGEN_DEVICE_FUNC std::enable_if< HasDirectAccess, Index >::type outerStride () const
 

Static Public Attributes

static constexpr bool HasDirectAccess = internal::has_direct_access<ExpressionType>::ret
 

Protected Attributes

const ExpressionType m_expression
 

Detailed Description

template<typename ExpressionType>
class Eigen::NestByValue< ExpressionType >

Expression which must be nested by value.

Template Parameters
ExpressionTypethe type of the object of which we are requiring nesting-by-value

This class is the return type of MatrixBase::nestByValue() and most of the time this is the only way it is used.

See also
MatrixBase::nestByValue()

Member Typedef Documentation

◆ Base

template<typename ExpressionType >
typedef internal::dense_xpr_base<NestByValue>::type Eigen::NestByValue< ExpressionType >::Base

Constructor & Destructor Documentation

◆ NestByValue()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Eigen::NestByValue< ExpressionType >::NestByValue ( const ExpressionType &  matrix)
inlineexplicit
46 : m_expression(matrix) {}
const ExpressionType m_expression
Definition: NestByValue.h:68
Eigen::Map< Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor >, 0, Eigen::OuterStride<> > matrix(T *data, int rows, int cols, int stride)
Definition: common.h:85

Member Function Documentation

◆ cols()

◆ data()

◆ innerStride()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC std::enable_if<HasDirectAccess, Index>::type Eigen::NestByValue< ExpressionType >::innerStride ( ) const
inline
59  {
60  return m_expression.innerStride();
61  }

References Eigen::NestByValue< ExpressionType >::m_expression.

◆ nestedExpression()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const ExpressionType& Eigen::NestByValue< ExpressionType >::nestedExpression ( ) const
inline

◆ operator const ExpressionType &()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Eigen::NestByValue< ExpressionType >::operator const ExpressionType & ( ) const
inline

◆ outerStride()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC std::enable_if<HasDirectAccess, Index>::type Eigen::NestByValue< ExpressionType >::outerStride ( ) const
inline
63  {
64  return m_expression.outerStride();
65  }

References Eigen::NestByValue< ExpressionType >::m_expression.

◆ rows()

Member Data Documentation

◆ HasDirectAccess

template<typename ExpressionType >
constexpr bool Eigen::NestByValue< ExpressionType >::HasDirectAccess = internal::has_direct_access<ExpressionType>::ret
staticconstexpr

◆ m_expression


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