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, typename internal::traits< MatrixType > ::StorageKind >::Base | Base |
Public Member Functions | |
CwiseUnaryView (const 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 < typename MatrixType::Nested > ::type & | nestedExpression () const |
internal::remove_all< typename MatrixType::Nested >::type & | nestedExpression () |
Protected Attributes | |
const internal::nested < 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.
typedef CwiseUnaryViewImpl<ViewOp, MatrixType,typename internal::traits<MatrixType>::StorageKind>::Base CwiseUnaryView< ViewOp, MatrixType >::Base |
CwiseUnaryView< ViewOp, MatrixType >::CwiseUnaryView | ( | const MatrixType & | mat, | |
const ViewOp & | func = ViewOp() | |||
) | [inline] |
EIGEN_STRONG_INLINE Index CwiseUnaryView< ViewOp, MatrixType >::cols | ( | ) | const [inline] |
const ViewOp& CwiseUnaryView< ViewOp, MatrixType >::functor | ( | ) | const [inline] |
const internal::remove_all<typename MatrixType::Nested>::type& CwiseUnaryView< ViewOp, MatrixType >::nestedExpression | ( | ) | const [inline] |
internal::remove_all<typename MatrixType::Nested>::type& CwiseUnaryView< ViewOp, MatrixType >::nestedExpression | ( | ) | [inline] |
EIGEN_STRONG_INLINE Index CwiseUnaryView< ViewOp, MatrixType >::rows | ( | ) | const [inline] |
ViewOp CwiseUnaryView< ViewOp, MatrixType >::m_functor [protected] |
const internal::nested<MatrixType>::type CwiseUnaryView< ViewOp, MatrixType >::m_matrix [protected] |