Generic expression where a coefficient-wise binary operator is applied to two expressions.
| BinaryOp | template functor implementing the operator |
| Lhs | the type of the left-hand side |
| Rhs | the type of the right-hand side |
This class represents an expression where a coefficient-wise binary operator is applied to two expressions. It is the return type of binary operators, by which we mean only those binary operators where both the left-hand side and the right-hand side are Eigen expressions. For example, the return type of matrix1+matrix2 is a CwiseBinaryOp.
Most of the time, this is the only way that it is used, so you typically don't have to name CwiseBinaryOp types explicitly.

Public Types | |
| typedef CwiseBinaryOpImpl < BinaryOp, Lhs, Rhs, typename internal::promote_storage_type < typename internal::traits < Lhs >::StorageKind, typename internal::traits< Rhs > ::StorageKind >::ret >::Base | Base |
| typedef internal::nested< Lhs > ::type | LhsNested |
| typedef internal::nested< Rhs > ::type | RhsNested |
| typedef internal::remove_reference < LhsNested >::type | _LhsNested |
| typedef internal::remove_reference < RhsNested >::type | _RhsNested |
Public Member Functions | |
| EIGEN_STRONG_INLINE | CwiseBinaryOp (const Lhs &lhs, const Rhs &rhs, const BinaryOp &func=BinaryOp()) |
| EIGEN_STRONG_INLINE Index | rows () const |
| EIGEN_STRONG_INLINE Index | cols () const |
| const _LhsNested & | lhs () const |
| const _RhsNested & | rhs () const |
| const BinaryOp & | functor () const |
Protected Attributes | |
| const LhsNested | m_lhs |
| const RhsNested | m_rhs |
| const BinaryOp | m_functor |
| typedef internal::remove_reference<LhsNested>::type Eigen::CwiseBinaryOp::_LhsNested |
| typedef internal::remove_reference<RhsNested>::type Eigen::CwiseBinaryOp::_RhsNested |
| typedef CwiseBinaryOpImpl< BinaryOp, Lhs, Rhs, typename internal::promote_storage_type<typename internal::traits<Lhs>::StorageKind, typename internal::traits<Rhs>::StorageKind>::ret>::Base Eigen::CwiseBinaryOp::Base |
| typedef internal::nested<Lhs>::type Eigen::CwiseBinaryOp::LhsNested |
| typedef internal::nested<Rhs>::type Eigen::CwiseBinaryOp::RhsNested |
| EIGEN_STRONG_INLINE Eigen::CwiseBinaryOp::CwiseBinaryOp | ( | const Lhs & | lhs, |
| const Rhs & | rhs, | ||
| const BinaryOp & | func = BinaryOp() |
||
| ) | [inline] |
| EIGEN_STRONG_INLINE Index Eigen::CwiseBinaryOp::cols | ( | void | ) | const [inline] |
| const BinaryOp& Eigen::CwiseBinaryOp::functor | ( | ) | const [inline] |
| const _LhsNested& Eigen::CwiseBinaryOp::lhs | ( | ) | const [inline] |
| const _RhsNested& Eigen::CwiseBinaryOp::rhs | ( | ) | const [inline] |
| EIGEN_STRONG_INLINE Index Eigen::CwiseBinaryOp::rows | ( | void | ) | const [inline] |
const BinaryOp Eigen::CwiseBinaryOp::m_functor [protected] |
const LhsNested Eigen::CwiseBinaryOp::m_lhs [protected] |
const RhsNested Eigen::CwiseBinaryOp::m_rhs [protected] |
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |