Eigen  3.4.90 (git rev 9589cc4e7fd8e4538bedef80dd36c7738977a8be)
 
Loading...
Searching...
No Matches
Eigen::CwiseUnaryView< ViewOp, MatrixType, StrideType > Class Template Reference

#include <Eigen/src/Core/CwiseUnaryView.h>

Detailed Description

template<typename ViewOp, typename MatrixType, typename StrideType = Stride<0, 0>>
class Eigen::CwiseUnaryView< ViewOp, MatrixType, StrideType >

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

Public Member Functions

const ViewOp & functor () const
 
std::remove_reference_t< MatrixTypeNested > & nestedExpression ()
 
const internal::remove_all_t< MatrixTypeNested > & nestedExpression () const
 

Member Function Documentation

◆ functor()

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

◆ nestedExpression() [1/2]

template<typename ViewOp, typename MatrixType, typename StrideType = Stride<0, 0>>
std::remove_reference_t< MatrixTypeNested > & Eigen::CwiseUnaryView< ViewOp, MatrixType, StrideType >::nestedExpression ( )
inline
Returns
the nested expression

◆ nestedExpression() [2/2]

template<typename ViewOp, typename MatrixType, typename StrideType = Stride<0, 0>>
const internal::remove_all_t< MatrixTypeNested > & Eigen::CwiseUnaryView< ViewOp, MatrixType, StrideType >::nestedExpression ( ) const
inline
Returns
the nested expression

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