Path Tracer
Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::MatrixWrapper< ExpressionType > Class Template Reference

Expression of an array as a mathematical vector or matrix. More...

#include <ArrayWrapper.h>

Public Types

typedef MatrixBase< MatrixWrapper< ExpressionType > > Base
 
typedef internal::remove_all< ExpressionType >::type NestedExpression
 
typedef internal::conditional< internal::is_lvalue< ExpressionType >::value, Scalar, const Scalar >::type ScalarWithConstIfNotLvalue
 
typedef internal::ref_selector< ExpressionType >::non_const_type NestedExpressionType
 

Public Member Functions

EIGEN_DEVICE_FUNC MatrixWrapper (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 ScalarWithConstIfNotLvaluedata ()
 
EIGEN_DEVICE_FUNC const Scalar * data () const
 
EIGEN_DEVICE_FUNC const Scalar & coeffRef (Index rowId, Index colId) const
 
EIGEN_DEVICE_FUNC const Scalar & coeffRef (Index index) const
 
EIGEN_DEVICE_FUNC const internal::remove_all< NestedExpressionType >::type & nestedExpression () const
 
EIGEN_DEVICE_FUNC void resize (Index newSize)
 
EIGEN_DEVICE_FUNC void resize (Index rows, Index cols)
 

Protected Attributes

NestedExpressionType m_expression
 

Detailed Description

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

Expression of an array as a mathematical vector or matrix.

This class is the return type of ArrayBase::matrix(), and most of the time this is the only way it is use.

See also
MatrixBase::matrix(), class ArrayWrapper

Member Function Documentation

◆ resize() [1/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC void Eigen::MatrixWrapper< ExpressionType >::resize ( Index  newSize)
inline

Forwards the resizing request to the nested expression

See also
DenseBase::resize(Index)

◆ resize() [2/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC void Eigen::MatrixWrapper< ExpressionType >::resize ( Index  rows,
Index  cols 
)
inline

Forwards the resizing request to the nested expression

See also
DenseBase::resize(Index,Index)

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