Generic expression where a coefficient-wise ternary operator is applied to two expressions. More...
Public Types | |
typedef internal::remove_all_t< Arg1Type > | Arg1 |
typedef std::remove_reference_t< Arg1Nested > | Arg1Nested_ |
typedef internal::remove_all_t< Arg2Type > | Arg2 |
typedef internal::ref_selector< Arg2Type >::type | Arg2Nested |
typedef std::remove_reference_t< Arg2Nested > | Arg2Nested_ |
typedef internal::remove_all_t< Arg3Type > | Arg3 |
typedef internal::ref_selector< Arg3Type >::type | Arg3Nested |
typedef std::remove_reference_t< Arg3Nested > | Arg3Nested_ |
Public Member Functions | |
const Arg1Nested_ & | arg1 () const |
const Arg2Nested_ & | arg2 () const |
const Arg3Nested_ & | arg3 () const |
Index | cols () const |
CwiseTernaryOp (const Arg1 &a1, const Arg2 &a2, const Arg3 &a3, const TernaryOp &func=TernaryOp()) | |
const TernaryOp & | functor () const |
Index | rows () const |
Public Attributes | |
EIGEN_STATIC_ASSERT((internal::is_same< typename internal::traits< Arg1Type >::StorageKind, typename internal::traits< Arg2Type >::StorageKind >::value), STORAGE_KIND_MUST_MATCH) EIGEN_STATIC_ASSERT((internal typedef internal::ref_selector< Arg1Type >::type | Arg1Nested |
Protected Attributes | |
Arg1Nested | m_arg1 |
Arg2Nested | m_arg2 |
Arg3Nested | m_arg3 |
const TernaryOp | m_functor |
Generic expression where a coefficient-wise ternary operator is applied to two expressions.
TernaryOp | template functor implementing the operator |
Arg1Type | the type of the first argument |
Arg2Type | the type of the second argument |
Arg3Type | the type of the third argument |
This class represents an expression where a coefficient-wise ternary operator is applied to three expressions. It is the return type of ternary operators, by which we mean only those ternary operators where all three arguments are Eigen expressions. For example, the return type of betainc(matrix1, matrix2, matrix3) is a CwiseTernaryOp.
Most of the time, this is the only way that it is used, so you typically don't have to name CwiseTernaryOp types explicitly.
Definition at line 86 of file CwiseTernaryOp.h.
typedef internal::remove_all_t<Arg1Type> Eigen::CwiseTernaryOp< TernaryOp, Arg1Type, Arg2Type, Arg3Type >::Arg1 |
Definition at line 92 of file CwiseTernaryOp.h.
typedef std::remove_reference_t<Arg1Nested> Eigen::CwiseTernaryOp< TernaryOp, Arg1Type, Arg2Type, Arg3Type >::Arg1Nested_ |
Definition at line 118 of file CwiseTernaryOp.h.
typedef internal::remove_all_t<Arg2Type> Eigen::CwiseTernaryOp< TernaryOp, Arg1Type, Arg2Type, Arg3Type >::Arg2 |
Definition at line 93 of file CwiseTernaryOp.h.
typedef internal::ref_selector<Arg2Type>::type Eigen::CwiseTernaryOp< TernaryOp, Arg1Type, Arg2Type, Arg3Type >::Arg2Nested |
Definition at line 116 of file CwiseTernaryOp.h.
typedef std::remove_reference_t<Arg2Nested> Eigen::CwiseTernaryOp< TernaryOp, Arg1Type, Arg2Type, Arg3Type >::Arg2Nested_ |
Definition at line 119 of file CwiseTernaryOp.h.
typedef internal::remove_all_t<Arg3Type> Eigen::CwiseTernaryOp< TernaryOp, Arg1Type, Arg2Type, Arg3Type >::Arg3 |
Definition at line 94 of file CwiseTernaryOp.h.
typedef internal::ref_selector<Arg3Type>::type Eigen::CwiseTernaryOp< TernaryOp, Arg1Type, Arg2Type, Arg3Type >::Arg3Nested |
Definition at line 117 of file CwiseTernaryOp.h.
typedef std::remove_reference_t<Arg3Nested> Eigen::CwiseTernaryOp< TernaryOp, Arg1Type, Arg2Type, Arg3Type >::Arg3Nested_ |
Definition at line 120 of file CwiseTernaryOp.h.
|
inline |
Definition at line 123 of file CwiseTernaryOp.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 149 of file CwiseTernaryOp.h.
|
inline |
Definition at line 177 of file CwiseTernaryOp.h.
|
inline |
Definition at line 132 of file CwiseTernaryOp.h.
EIGEN_STATIC_ASSERT ((internal::is_same< typename internal::traits<Arg1Type>::StorageKind, typename internal::traits<Arg2Type>::StorageKind>::value), STORAGE_KIND_MUST_MATCH) EIGEN_STATIC_ASSERT((internal typedef internal::ref_selector<Arg1Type>::type Eigen::CwiseTernaryOp< TernaryOp, Arg1Type, Arg2Type, Arg3Type >::Arg1Nested |
Definition at line 115 of file CwiseTernaryOp.h.
|
protected |
Definition at line 180 of file CwiseTernaryOp.h.
|
protected |
Definition at line 181 of file CwiseTernaryOp.h.
|
protected |
Definition at line 182 of file CwiseTernaryOp.h.
|
protected |
Definition at line 183 of file CwiseTernaryOp.h.