MOAB
4.9.3pre
|
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 |
typedef internal::ref_selector < MatrixType >::non_const_type | MatrixTypeNested |
typedef internal::remove_all < MatrixType >::type | NestedExpression |
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 < MatrixTypeNested >::type & | nestedExpression () const |
internal::remove_reference < MatrixTypeNested >::type & | nestedExpression () |
Protected Attributes | |
MatrixTypeNested | 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.
Definition at line 58 of file CwiseUnaryView.h.
typedef CwiseUnaryViewImpl<ViewOp, MatrixType,typename internal::traits<MatrixType>::StorageKind>::Base Eigen::CwiseUnaryView< ViewOp, MatrixType >::Base |
Reimplemented from Eigen::CwiseUnaryViewImpl< ViewOp, MatrixType, internal::traits< MatrixType >::StorageKind >.
Definition at line 62 of file CwiseUnaryView.h.
typedef internal::ref_selector<MatrixType>::non_const_type Eigen::CwiseUnaryView< ViewOp, MatrixType >::MatrixTypeNested |
Definition at line 64 of file CwiseUnaryView.h.
typedef internal::remove_all<MatrixType>::type Eigen::CwiseUnaryView< ViewOp, MatrixType >::NestedExpression |
Definition at line 65 of file CwiseUnaryView.h.
Eigen::CwiseUnaryView< ViewOp, MatrixType >::CwiseUnaryView | ( | MatrixType & | mat, |
const ViewOp & | func = ViewOp() |
||
) | [inline, explicit] |
Definition at line 67 of file CwiseUnaryView.h.
EIGEN_STRONG_INLINE Index Eigen::CwiseUnaryView< ViewOp, MatrixType >::cols | ( | ) | const [inline] |
Definition at line 73 of file CwiseUnaryView.h.
{ return m_matrix.cols(); }
const ViewOp& Eigen::CwiseUnaryView< ViewOp, MatrixType >::functor | ( | ) | const [inline] |
Definition at line 76 of file CwiseUnaryView.h.
{ return m_functor; }
const internal::remove_all<MatrixTypeNested>::type& Eigen::CwiseUnaryView< ViewOp, MatrixType >::nestedExpression | ( | ) | const [inline] |
internal::remove_reference<MatrixTypeNested>::type& Eigen::CwiseUnaryView< ViewOp, MatrixType >::nestedExpression | ( | ) | [inline] |
Definition at line 84 of file CwiseUnaryView.h.
{ return m_matrix.const_cast_derived(); }
EIGEN_STRONG_INLINE Index Eigen::CwiseUnaryView< ViewOp, MatrixType >::rows | ( | ) | const [inline] |
Definition at line 72 of file CwiseUnaryView.h.
{ return m_matrix.rows(); }
ViewOp Eigen::CwiseUnaryView< ViewOp, MatrixType >::m_functor [protected] |
Definition at line 88 of file CwiseUnaryView.h.
MatrixTypeNested Eigen::CwiseUnaryView< ViewOp, MatrixType >::m_matrix [protected] |
Definition at line 87 of file CwiseUnaryView.h.