Public Types | Public Member Functions | Protected Attributes
Eigen::CwiseUnaryView< ViewOp, MatrixType > Class Template Reference

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

#include <CwiseUnaryView.h>

List of all members.

Public Types

typedef CwiseUnaryViewImpl
< ViewOp, MatrixType, typename
internal::traits< MatrixType >
::StorageKind >::Base 
Base

Public Member Functions

EIGEN_STRONG_INLINE Index cols () const
 CwiseUnaryView (const MatrixType &mat, const ViewOp &func=ViewOp())
const ViewOp & functor () const
const internal::remove_all
< typename MatrixType::Nested >
::type
nestedExpression () const
internal::remove_all< typename
MatrixType::Nested >::type
nestedExpression ()
EIGEN_STRONG_INLINE Index rows () const

Protected Attributes

ViewOp m_functor
internal::nested< MatrixType >
::type 
m_matrix

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.


Member Typedef Documentation

template<typename ViewOp , typename MatrixType >
typedef CwiseUnaryViewImpl<ViewOp, MatrixType,typename internal::traits<MatrixType>::StorageKind>::Base Eigen::CwiseUnaryView< ViewOp, MatrixType >::Base

Definition at line 63 of file CwiseUnaryView.h.


Constructor & Destructor Documentation

template<typename ViewOp , typename MatrixType >
Eigen::CwiseUnaryView< ViewOp, MatrixType >::CwiseUnaryView ( const MatrixType &  mat,
const ViewOp &  func = ViewOp() 
) [inline]

Definition at line 66 of file CwiseUnaryView.h.


Member Function Documentation

template<typename ViewOp , typename MatrixType >
EIGEN_STRONG_INLINE Index Eigen::CwiseUnaryView< ViewOp, MatrixType >::cols ( ) const [inline]

Definition at line 72 of file CwiseUnaryView.h.

template<typename ViewOp , typename MatrixType >
const ViewOp& Eigen::CwiseUnaryView< ViewOp, MatrixType >::functor ( ) const [inline]
Returns:
the functor representing unary operation

Definition at line 75 of file CwiseUnaryView.h.

template<typename ViewOp , typename MatrixType >
const internal::remove_all<typename MatrixType::Nested>::type& Eigen::CwiseUnaryView< ViewOp, MatrixType >::nestedExpression ( ) const [inline]
Returns:
the nested expression

Definition at line 79 of file CwiseUnaryView.h.

template<typename ViewOp , typename MatrixType >
internal::remove_all<typename MatrixType::Nested>::type& Eigen::CwiseUnaryView< ViewOp, MatrixType >::nestedExpression ( ) [inline]
Returns:
the nested expression

Definition at line 83 of file CwiseUnaryView.h.

template<typename ViewOp , typename MatrixType >
EIGEN_STRONG_INLINE Index Eigen::CwiseUnaryView< ViewOp, MatrixType >::rows ( ) const [inline]

Definition at line 71 of file CwiseUnaryView.h.


Member Data Documentation

template<typename ViewOp , typename MatrixType >
ViewOp Eigen::CwiseUnaryView< ViewOp, MatrixType >::m_functor [protected]

Definition at line 88 of file CwiseUnaryView.h.

template<typename ViewOp , typename MatrixType >
internal::nested<MatrixType>::type Eigen::CwiseUnaryView< ViewOp, MatrixType >::m_matrix [protected]

Definition at line 87 of file CwiseUnaryView.h.


The documentation for this class was generated from the following file:


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:46