Medial Code Documentation
|
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector. More...
#include <CwiseUnaryView.h>
Public Types | |
typedef CwiseUnaryViewImpl< ViewOp, MatrixType, typenameinternal::traits< MatrixType >::StorageKind >::Base | Base |
typedef internal::remove_all< MatrixType >::type | NestedExpression |
![]() | |
typedef internal::generic_xpr_base< CwiseUnaryView< ViewOp, MatrixType > >::type | Base |
Public Member Functions | |
CwiseUnaryView (MatrixType &mat, const ViewOp &func=ViewOp()) | |
EIGEN_STRONG_INLINE Index | rows () const |
EIGEN_STRONG_INLINE Index | cols () const |
const ViewOp & | functor () const |
const internal::remove_all< typenameMatrixType::Nested >::type & | nestedExpression () const |
internal::remove_all< typenameMatrixType::Nested >::type & | nestedExpression () |
Protected Attributes | |
internal::ref_selector< MatrixType >::type | m_matrix |
ViewOp | m_functor |
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.
|
inline |
|
inline |
|
inline |