11 #ifndef EIGEN_COMMAINITIALIZER_H    12 #define EIGEN_COMMAINITIALIZER_H    27 template<
typename XprType>
    30   typedef typename XprType::Scalar 
Scalar;
    31   typedef typename XprType::Index 
Index;
    36     m_xpr.coeffRef(0,0) = s;
    39   template<
typename OtherDerived>
    43     m_xpr.block(0, 0, other.rows(), other.cols()) = other;
    55         && 
"Too many rows passed to comma initializer (operator<<)");
    58       && 
"Too many coefficients passed to comma initializer (operator<<)");
    65   template<
typename OtherDerived>
    68     if(other.cols()==0 || other.rows()==0)
    76         && 
"Too many rows passed to comma initializer (operator<<)");
    79       && 
"Too many coefficients passed to comma initializer (operator<<)");
    81     if (OtherDerived::SizeAtCompileTime != 
Dynamic)
    82       m_xpr.template 
block<OtherDerived::RowsAtCompileTime != 
Dynamic ? OtherDerived::RowsAtCompileTime : 1,
    83                               OtherDerived::ColsAtCompileTime != 
Dynamic ? OtherDerived::ColsAtCompileTime : 1>
    87     m_col += other.cols();
    95          && 
"Too few coefficients passed to comma initializer (operator<<)");
   126 template<
typename Derived>
   133 template<
typename Derived>
   134 template<
typename OtherDerived>
   143 #endif // EIGEN_COMMAINITIALIZER_H 
internal::traits< Derived >::Scalar Scalar
CommaInitializer & operator,(const DenseBase< OtherDerived > &other)
Block< Derived > block(Index startRow, Index startCol, Index blockRows, Index blockCols)
Base class for all dense matrices, vectors, and arrays. 
CommaInitializer< Derived > operator<<(const Scalar &s)
Helper class used by the comma initializer operator. 
CommaInitializer(XprType &xpr, const Scalar &s)
CommaInitializer & operator,(const Scalar &s)
CommaInitializer(XprType &xpr, const DenseBase< OtherDerived > &other)