Expression of a coefficient wise version of the C++ ternary operator ?:
More...
Inherits internal::dense_xpr_base::type, and Eigen::internal::no_assignment_operator.
|
typedef internal::dense_xpr_base< Select >::type | Base |
|
template<typename ConditionMatrixType, typename ThenMatrixType, typename ElseMatrixType>
class Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >
Expression of a coefficient wise version of the C++ ternary operator ?:
- Template Parameters
-
ConditionMatrixType | the type of the condition expression which must be a boolean matrix |
ThenMatrixType | the type of the then expression |
ElseMatrixType | the type of the else expression |
This class represents an expression of a coefficient wise version of the C++ ternary operator ?:. It is the return type of DenseBase::select() and most of the time this is the only way it is used.
- See also
- DenseBase::select(const DenseBase<ThenDerived>&, const DenseBase<ElseDerived>&) const
Definition at line 54 of file Select.h.
◆ Base
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
typedef internal::dense_xpr_base<Select>::type Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::Base |
◆ Select()
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::Select |
( |
const ConditionMatrixType & |
a_conditionMatrix, |
|
|
const ThenMatrixType & |
a_thenMatrix, |
|
|
const ElseMatrixType & |
a_elseMatrix |
|
) |
| |
|
inline |
Definition at line 63 of file Select.h.
ElseMatrixType::Nested m_else
ConditionMatrixType::Nested m_condition
ThenMatrixType::Nested m_then
◆ coeff() [1/2]
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
const Scalar Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::coeff |
( |
Index |
i | ) |
const |
|
inline |
◆ coeff() [2/2]
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
const Scalar Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::coeff |
( |
Index |
i, |
|
|
Index |
j |
|
) |
| const |
|
inline |
◆ cols()
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
◆ conditionMatrix()
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
const ConditionMatrixType& Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::conditionMatrix |
( |
| ) |
const |
|
inline |
◆ elseMatrix()
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
const ElseMatrixType& Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::elseMatrix |
( |
| ) |
const |
|
inline |
◆ rows()
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
◆ thenMatrix()
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
const ThenMatrixType& Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::thenMatrix |
( |
| ) |
const |
|
inline |
◆ m_condition
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
ConditionMatrixType::Nested Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::m_condition |
|
protected |
◆ m_else
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
ElseMatrixType::Nested Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::m_else |
|
protected |
◆ m_then
template<typename ConditionMatrixType , typename ThenMatrixType , typename ElseMatrixType >
ThenMatrixType::Nested Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::m_then |
|
protected |
The documentation for this class was generated from the following file: