Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector. More...
Inheritance diagram for Eigen::CwiseUnaryView< ViewOp, MatrixType, StrideType >:Public Types | |
| typedef CwiseUnaryViewImpl< ViewOp, MatrixType, StrideType, typename internal::traits< MatrixType >::StorageKind >::Base | Base |
| typedef internal::ref_selector< MatrixType >::non_const_type | MatrixTypeNested |
| typedef internal::remove_all_t< MatrixType > | NestedExpression |
Public Member Functions | |
| EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
| CwiseUnaryView (MatrixType &mat, const ViewOp &func=ViewOp()) | |
| const ViewOp & | functor () const |
| std::remove_reference_t< MatrixTypeNested > & | nestedExpression () |
| const internal::remove_all_t< MatrixTypeNested > & | nestedExpression () const |
| EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
Protected Attributes | |
| ViewOp | m_functor |
| MatrixTypeNested | m_matrix |
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.
| ViewOp | template functor implementing the view |
| MatrixType | the 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.
Definition at line 65 of file CwiseUnaryView.h.
| typedef CwiseUnaryViewImpl<ViewOp, MatrixType, StrideType, typename internal::traits<MatrixType>::StorageKind>::Base Eigen::CwiseUnaryView< ViewOp, MatrixType, StrideType >::Base |
Definition at line 69 of file CwiseUnaryView.h.
| typedef internal::ref_selector<MatrixType>::non_const_type Eigen::CwiseUnaryView< ViewOp, MatrixType, StrideType >::MatrixTypeNested |
Definition at line 71 of file CwiseUnaryView.h.
| typedef internal::remove_all_t<MatrixType> Eigen::CwiseUnaryView< ViewOp, MatrixType, StrideType >::NestedExpression |
Definition at line 72 of file CwiseUnaryView.h.
|
inlineexplicit |
Definition at line 74 of file CwiseUnaryView.h.
|
inline |
Definition at line 82 of file CwiseUnaryView.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 80 of file CwiseUnaryView.h.
|
protected |
Definition at line 97 of file CwiseUnaryView.h.
|
protected |
Definition at line 96 of file CwiseUnaryView.h.