Expression of a coefficient wise version of the C++ ternary operator ?:
More...
Inherits no_assignment_operator, and type< Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType > >.
List of all members.
Detailed Description
template<typename ConditionMatrixType, typename ThenMatrixType, typename ElseMatrixType>
class Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >
Expression of a coefficient wise version of the C++ ternary operator ?:
- 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
Member Typedef Documentation
| typedef internal::dense_xpr_base<Select>::type Base |
Constructor & Destructor Documentation
| Select |
( |
const ConditionMatrixType & |
conditionMatrix, |
|
|
const ThenMatrixType & |
thenMatrix, |
|
|
const ElseMatrixType & |
elseMatrix |
|
) |
| [inline] |
Member Function Documentation
| Index cols |
( |
void |
| ) |
const [inline] |
| const ConditionMatrixType& conditionMatrix |
( |
| ) |
const [inline] |
| const ElseMatrixType& elseMatrix |
( |
| ) |
const [inline] |
| Index rows |
( |
void |
| ) |
const [inline] |
| const ThenMatrixType& thenMatrix |
( |
| ) |
const [inline] |
Member Data Documentation
ElseMatrixType::Nested m_else [protected] |
ThenMatrixType::Nested m_then [protected] |
The documentation for this class was generated from the following file: