WPILibC++ 2023.4.3
|
Expression of a coefficient wise version of the C++ ternary operator ?: More...
Public Types | |
typedef internal::dense_xpr_base< Select >::type | Base |
Public Member Functions | |
EIGEN_DEVICE_FUNC | Select (const ConditionMatrixType &a_conditionMatrix, const ThenMatrixType &a_thenMatrix, const ElseMatrixType &a_elseMatrix) |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC const Scalar | coeff (Index i, Index j) const |
EIGEN_DEVICE_FUNC const Scalar | coeff (Index i) const |
EIGEN_DEVICE_FUNC const ConditionMatrixType & | conditionMatrix () const |
EIGEN_DEVICE_FUNC const ThenMatrixType & | thenMatrix () const |
EIGEN_DEVICE_FUNC const ElseMatrixType & | elseMatrix () const |
Protected Attributes | |
ConditionMatrixType::Nested | m_condition |
ThenMatrixType::Nested | m_then |
ElseMatrixType::Nested | m_else |
Expression of a coefficient wise version of the C++ ternary operator ?:
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.
typedef internal::dense_xpr_base<Select>::type Eigen::Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >::Base |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |