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
-
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.
- See also
- MatrixBase::unaryViewExpr(const CustomUnaryOp &) const, class CwiseUnaryOp