Helper class used by the comma initializer operator.
More...
Public Types |
typedef ei_traits< MatrixType >
::Scalar | Scalar |
Public Member Functions |
| CommaInitializer (MatrixType &mat, const Scalar &s) |
template<typename OtherDerived > |
| CommaInitializer (MatrixType &mat, const MatrixBase< OtherDerived > &other) |
MatrixType & | finished () |
CommaInitializer & | operator, (const Scalar &s) |
template<typename OtherDerived > |
CommaInitializer & | operator, (const MatrixBase< OtherDerived > &other) |
Public Attributes |
int | m_col |
int | m_currentBlockRows |
MatrixType & | m_matrix |
int | m_row |
Detailed Description
template<typename MatrixType>
class Eigen::CommaInitializer< MatrixType >
Helper class used by the comma initializer operator.
This class is internally used to implement the comma initializer feature. It is the return type of MatrixBase::operator<<, and most of the time this is the only way it is used.
- See Also
- MatrixBase::operator<<, CommaInitializer::finished()
Member Function Documentation
- Returns
- the built matrix once all its coefficients have been set. Calling finished is 100% optional. Its purpose is to write expressions like this:
The documentation for this class was generated from the following file: