Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::CwiseUnaryView< ViewOp, MatrixType > Class Template Reference

Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector. More...

#include <CwiseUnaryView.h>

Inheritance diagram for Eigen::CwiseUnaryView< ViewOp, MatrixType >:
Inheritance graph
[legend]

Public Types

typedef CwiseUnaryViewImpl< ViewOp, MatrixType, typename internal::traits< MatrixType >::StorageKind >::Base Base
 
typedef internal::ref_selector< MatrixType >::non_const_type MatrixTypeNested
 
typedef internal::remove_all< MatrixType >::type NestedExpression
 
- Public Types inherited from Eigen::CwiseUnaryViewImpl< ViewOp, MatrixType, internal::traits< MatrixType >::StorageKind >
typedef internal::generic_xpr_base< CwiseUnaryView< ViewOp, MatrixType > >::type Base
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC CwiseUnaryView (MatrixType &mat, const ViewOp &func=ViewOp())
 
EIGEN_DEVICE_FUNC const ViewOp & functor () const
 
EIGEN_DEVICE_FUNC const internal::remove_all< MatrixTypeNested >::typenestedExpression () const
 
EIGEN_DEVICE_FUNC internal::remove_reference< MatrixTypeNested >::typenestedExpression ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
 

Protected Attributes

ViewOp m_functor
 
MatrixTypeNested m_matrix
 

Detailed Description

template<typename ViewOp, typename MatrixType>
class Eigen::CwiseUnaryView< ViewOp, MatrixType >

Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.

Template Parameters
ViewOptemplate functor implementing the view
MatrixTypethe type of the matrix we are applying the unary operator

This class represents a lvalue expression of a generic unary view operator of a matrix or a vector. It is the return type of real() and imag(), and most of the time this is the only way it is used.

See also
MatrixBase::unaryViewExpr(const CustomUnaryOp &) const, class CwiseUnaryOp

Definition at line 58 of file CwiseUnaryView.h.

Member Typedef Documentation

◆ Base

template<typename ViewOp, typename MatrixType>
typedef CwiseUnaryViewImpl<ViewOp, MatrixType,typename internal::traits<MatrixType>::StorageKind>::Base Eigen::CwiseUnaryView< ViewOp, MatrixType >::Base

Definition at line 62 of file CwiseUnaryView.h.

◆ MatrixTypeNested

template<typename ViewOp, typename MatrixType>
typedef internal::ref_selector<MatrixType>::non_const_type Eigen::CwiseUnaryView< ViewOp, MatrixType >::MatrixTypeNested

Definition at line 64 of file CwiseUnaryView.h.

◆ NestedExpression

template<typename ViewOp, typename MatrixType>
typedef internal::remove_all<MatrixType>::type Eigen::CwiseUnaryView< ViewOp, MatrixType >::NestedExpression

Definition at line 65 of file CwiseUnaryView.h.

Constructor & Destructor Documentation

◆ CwiseUnaryView()

template<typename ViewOp, typename MatrixType>
EIGEN_DEVICE_FUNC Eigen::CwiseUnaryView< ViewOp, MatrixType >::CwiseUnaryView ( MatrixType mat,
const ViewOp &  func = ViewOp() 
)
inlineexplicit

Definition at line 67 of file CwiseUnaryView.h.

Member Function Documentation

◆ cols()

template<typename ViewOp, typename MatrixType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index Eigen::CwiseUnaryView< ViewOp, MatrixType >::cols ( ) const
inline

Definition at line 75 of file CwiseUnaryView.h.

◆ functor()

template<typename ViewOp, typename MatrixType>
EIGEN_DEVICE_FUNC const ViewOp& Eigen::CwiseUnaryView< ViewOp, MatrixType >::functor ( ) const
inline
Returns
the functor representing unary operation

Definition at line 78 of file CwiseUnaryView.h.

◆ nestedExpression() [1/2]

template<typename ViewOp, typename MatrixType>
EIGEN_DEVICE_FUNC const internal::remove_all<MatrixTypeNested>::type& Eigen::CwiseUnaryView< ViewOp, MatrixType >::nestedExpression ( ) const
inline
Returns
the nested expression

Definition at line 82 of file CwiseUnaryView.h.

◆ nestedExpression() [2/2]

template<typename ViewOp, typename MatrixType>
EIGEN_DEVICE_FUNC internal::remove_reference<MatrixTypeNested>::type& Eigen::CwiseUnaryView< ViewOp, MatrixType >::nestedExpression ( )
inline
Returns
the nested expression

Definition at line 86 of file CwiseUnaryView.h.

◆ rows()

template<typename ViewOp, typename MatrixType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index Eigen::CwiseUnaryView< ViewOp, MatrixType >::rows ( ) const
inline

Definition at line 73 of file CwiseUnaryView.h.

Member Data Documentation

◆ m_functor

template<typename ViewOp, typename MatrixType>
ViewOp Eigen::CwiseUnaryView< ViewOp, MatrixType >::m_functor
protected

Definition at line 90 of file CwiseUnaryView.h.

◆ m_matrix

template<typename ViewOp, typename MatrixType>
MatrixTypeNested Eigen::CwiseUnaryView< ViewOp, MatrixType >::m_matrix
protected

Definition at line 89 of file CwiseUnaryView.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:32