11 #ifndef EIGEN_COMMAINITIALIZER_H 12 #define EIGEN_COMMAINITIALIZER_H 27 template<
typename XprType>
37 &&
"Cannot comma-initialize a 0x0 matrix (operator<<)");
41 template<
typename OtherDerived>
47 &&
"Cannot comma-initialize a 0x0 matrix (operator<<)");
48 m_xpr.block(0, 0, other.rows(), other.cols()) = other;
73 &&
"Too many rows passed to comma initializer (operator<<)");
76 &&
"Too many coefficients passed to comma initializer (operator<<)");
83 template<
typename OtherDerived>
93 &&
"Too many rows passed to comma initializer (operator<<)");
96 &&
"Too many coefficients passed to comma initializer (operator<<)");
98 m_xpr.template block<OtherDerived::RowsAtCompileTime, OtherDerived::ColsAtCompileTime>
99 (
m_row,
m_col, other.rows(), other.cols()) = other;
100 m_col += other.cols();
106 #if defined VERIFY_RAISES_ASSERT && (!defined EIGEN_NO_ASSERTION_CHECKING) && defined EIGEN_EXCEPTIONS 124 &&
"Too few coefficients passed to comma initializer (operator<<)");
147 template<
typename Derived>
154 template<
typename Derived>
155 template<
typename OtherDerived>
164 #endif // EIGEN_COMMAINITIALIZER_H
EIGEN_DEVICE_FUNC CommaInitializer(XprType &xpr, const Scalar &s)
Namespace containing all symbols from the Eigen library.
Base class for all dense matrices, vectors, and arrays.
EIGEN_DEVICE_FUNC CommaInitializer(const CommaInitializer &o)
Helper class used by the comma initializer operator.
EIGEN_DEVICE_FUNC CommaInitializer & operator,(const Scalar &s)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
#define EIGEN_EXCEPTION_SPEC(X)
EIGEN_DEVICE_FUNC CommaInitializer< Derived > operator<<(const Scalar &s)
EIGEN_DEVICE_FUNC ~CommaInitializer()
#define EIGEN_DEVICE_FUNC
CwiseBinaryOp< internal::scalar_sum_op< double, double >, const CpyMatrixXd, const CpyMatrixXd > XprType
EIGEN_DEVICE_FUNC CommaInitializer(XprType &xpr, const DenseBase< OtherDerived > &other)
EIGEN_DEVICE_FUNC CommaInitializer & operator,(const DenseBase< OtherDerived > &other)
EIGEN_DEVICE_FUNC XprType & finished()