WPILibC++ 2023.4.3-108-ge5452e3
|
Generic expression where a coefficient-wise binary operator is applied to two expressions. More...
Public Types | |
typedef internal::remove_all< BinaryOp >::type | Functor |
typedef internal::remove_all< LhsType >::type | Lhs |
typedef internal::remove_all< RhsType >::type | Rhs |
typedef CwiseBinaryOpImpl< BinaryOp, LhsType, RhsType, typenameinternal::cwise_promote_storage_type< typenameinternal::traits< LhsType >::StorageKind, typenameinternal::traits< Rhs >::StorageKind, BinaryOp >::ret >::Base | Base |
typedef internal::ref_selector< LhsType >::type | LhsNested |
typedef internal::ref_selector< RhsType >::type | RhsNested |
typedef internal::remove_reference< LhsNested >::type | _LhsNested |
typedef internal::remove_reference< RhsNested >::type | _RhsNested |
Public Types inherited from Eigen::CwiseBinaryOpImpl< BinaryOp, LhsType, RhsType, internal::cwise_promote_storage_type< internal::traits< LhsType >::StorageKind, internal::traits< RhsType >::StorageKind, BinaryOp >::ret > | |
typedef internal::generic_xpr_base< CwiseBinaryOp< BinaryOp, LhsType, RhsType > >::type | Base |
Public Member Functions | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | CwiseBinaryOp (const Lhs &aLhs, const Rhs &aRhs, const BinaryOp &func=BinaryOp()) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const _LhsNested & | lhs () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const _RhsNested & | rhs () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const BinaryOp & | functor () const |
Protected Attributes | |
LhsNested | m_lhs |
RhsNested | m_rhs |
const BinaryOp | m_functor |
Generic expression where a coefficient-wise binary operator is applied to two expressions.
BinaryOp | template functor implementing the operator |
LhsType | the type of the left-hand side |
RhsType | 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.
typedef internal::remove_reference<LhsNested>::type Eigen::CwiseBinaryOp< BinaryOp, LhsType, RhsType >::_LhsNested |
typedef internal::remove_reference<RhsNested>::type Eigen::CwiseBinaryOp< BinaryOp, LhsType, RhsType >::_RhsNested |
typedef CwiseBinaryOpImpl<BinaryOp,LhsType,RhsType,typenameinternal::cwise_promote_storage_type<typenameinternal::traits<LhsType>::StorageKind,typenameinternal::traits<Rhs>::StorageKind,BinaryOp>::ret>::Base Eigen::CwiseBinaryOp< BinaryOp, LhsType, RhsType >::Base |
typedef internal::remove_all<BinaryOp>::type Eigen::CwiseBinaryOp< BinaryOp, LhsType, RhsType >::Functor |
typedef internal::remove_all<LhsType>::type Eigen::CwiseBinaryOp< BinaryOp, LhsType, RhsType >::Lhs |
typedef internal::ref_selector<LhsType>::type Eigen::CwiseBinaryOp< BinaryOp, LhsType, RhsType >::LhsNested |
typedef internal::remove_all<RhsType>::type Eigen::CwiseBinaryOp< BinaryOp, LhsType, RhsType >::Rhs |
typedef internal::ref_selector<RhsType>::type Eigen::CwiseBinaryOp< BinaryOp, LhsType, RhsType >::RhsNested |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |