15#include "./InternalHeaderCheck.h"
33template <
typename ConditionMatrixType,
typename ThenMatrixType,
typename ElseMatrixType>
37 ThenMatrixType, ElseMatrixType, ConditionMatrixType>;
47template <
typename Derived>
48template <
typename ThenDerived,
typename ElseDerived>
52 ThenDerived, ElseDerived, Derived>
61template <
typename Derived>
62template <
typename ThenDerived>
71 ElseConstantType(rows(), cols(), elseScalar), derived());
78template <
typename Derived>
79template <
typename ElseDerived>
88 elseMatrix.derived(), derived());
Generic expression where a coefficient-wise ternary operator is applied to three expressions.
Definition CwiseTernaryOp.h:87
Base class for all dense matrices, vectors, and arrays.
Definition DenseBase.h:45
constexpr DenseBase()=default
typename internal::traits< Derived >::Scalar Scalar
Definition DenseBase.h:63
CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ThenMatrixType >::Scalar, typename DenseBase< ElseMatrixType >::Scalar, typename DenseBase< ConditionMatrixType >::Scalar >, ThenMatrixType, ElseMatrixType, ConditionMatrixType > Select
Expression of a coefficient wise version of the C++ ternary operator ?:
Definition Select.h:34