Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Eigen::NestByValue< ExpressionType > Class Template Reference

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

#include <src/eigen/Eigen/src/Core/NestByValue.h>

+ Inheritance diagram for Eigen::NestByValue< ExpressionType >:
+ Collaboration 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 Index rows () const
 
EIGEN_DEVICE_FUNC Index cols () const
 
EIGEN_DEVICE_FUNC Index outerStride () const
 
EIGEN_DEVICE_FUNC Index innerStride () const
 
EIGEN_DEVICE_FUNC const CoeffReturnType coeff (Index row, Index col) const
 
EIGEN_DEVICE_FUNC Scalar & coeffRef (Index row, Index col)
 
EIGEN_DEVICE_FUNC const CoeffReturnType coeff (Index index) const
 
EIGEN_DEVICE_FUNC Scalar & coeffRef (Index index)
 
template<int LoadMode>
const PacketScalar packet (Index row, Index col) const
 
template<int LoadMode>
void writePacket (Index row, Index col, const PacketScalar &x)
 
template<int LoadMode>
const PacketScalar packet (Index index) const
 
template<int LoadMode>
void writePacket (Index index, const PacketScalar &x)
 
EIGEN_DEVICE_FUNC operator const ExpressionType & () const
 

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
42: m_expression(matrix) {}
const ExpressionType m_expression
Definition NestByValue.h:96

Member Function Documentation

◆ coeff() [1/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const CoeffReturnType Eigen::NestByValue< ExpressionType >::coeff ( Index  index) const
inline
60 {
61 return m_expression.coeff(index);
62 }

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

◆ coeff() [2/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const CoeffReturnType Eigen::NestByValue< ExpressionType >::coeff ( Index  row,
Index  col 
) const
inline
50 {
51 return m_expression.coeff(row, col);
52 }
EIGEN_DEVICE_FUNC RowXpr row(Index i)
This is the const version of row(). *‍/.
Definition BlockMethods.h:859
EIGEN_DEVICE_FUNC ColXpr col(Index i)
This is the const version of col().
Definition BlockMethods.h:838

References col(), Eigen::NestByValue< ExpressionType >::m_expression, and row().

+ Here is the call graph for this function:

◆ coeffRef() [1/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Scalar & Eigen::NestByValue< ExpressionType >::coeffRef ( Index  index)
inline
65 {
66 return m_expression.const_cast_derived().coeffRef(index);
67 }

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

◆ coeffRef() [2/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Scalar & Eigen::NestByValue< ExpressionType >::coeffRef ( Index  row,
Index  col 
)
inline
55 {
56 return m_expression.const_cast_derived().coeffRef(row, col);
57 }

References col(), Eigen::NestByValue< ExpressionType >::m_expression, and row().

+ Here is the call graph for this function:

◆ cols()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Index Eigen::NestByValue< ExpressionType >::cols ( ) const
inline

◆ innerStride()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Index Eigen::NestByValue< ExpressionType >::innerStride ( ) const
inline
47{ return m_expression.innerStride(); }

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

◆ operator const ExpressionType &()

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

◆ outerStride()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Index Eigen::NestByValue< ExpressionType >::outerStride ( ) const
inline
46{ return m_expression.outerStride(); }

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

◆ packet() [1/2]

template<typename ExpressionType >
template<int LoadMode>
const PacketScalar Eigen::NestByValue< ExpressionType >::packet ( Index  index) const
inline
83 {
84 return m_expression.template packet<LoadMode>(index);
85 }

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

◆ packet() [2/2]

template<typename ExpressionType >
template<int LoadMode>
const PacketScalar Eigen::NestByValue< ExpressionType >::packet ( Index  row,
Index  col 
) const
inline
71 {
72 return m_expression.template packet<LoadMode>(row, col);
73 }

References col(), Eigen::NestByValue< ExpressionType >::m_expression, and row().

+ Here is the call graph for this function:

◆ rows()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Index Eigen::NestByValue< ExpressionType >::rows ( ) const
inline

◆ writePacket() [1/2]

template<typename ExpressionType >
template<int LoadMode>
void Eigen::NestByValue< ExpressionType >::writePacket ( Index  index,
const PacketScalar &  x 
)
inline
89 {
90 m_expression.const_cast_derived().template writePacket<LoadMode>(index, x);
91 }

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

◆ writePacket() [2/2]

template<typename ExpressionType >
template<int LoadMode>
void Eigen::NestByValue< ExpressionType >::writePacket ( Index  row,
Index  col,
const PacketScalar &  x 
)
inline
77 {
78 m_expression.const_cast_derived().template writePacket<LoadMode>(row, col, x);
79 }

References col(), Eigen::NestByValue< ExpressionType >::m_expression, and row().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_expression


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