Eigne Matrix Class Library

Dependents:   Eigen_test Odometry_test AttitudeEstimation_usingTicker MPU9250_Quaternion_Binary_Serial ... more

Embed: (wiki syntax)

« Back to documentation index

CwiseUnaryView< ViewOp, MatrixType > Class Template Reference

CwiseUnaryView< ViewOp, MatrixType > Class Template Reference
[Core module]

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

#include <CwiseUnaryView.h>


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.

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 59 of file CwiseUnaryView.h.