Go to the documentation of this file.
10 #ifndef EIGEN_COREITERATORS_H
11 #define EIGEN_COREITERATORS_H
20 template<
typename XprType,
typename EvaluatorKind>
32 template<
typename XprType>
78 template<
typename XprType>
88 : m_eval(
eval), m_inner(0), m_outer(outerId), m_end(innerSize)
93 return (IsRowMajor) ? m_eval.coeff(m_outer, m_inner)
94 : m_eval.coeff(m_inner, m_outer);
100 inline Index row()
const {
return IsRowMajor ? m_outer : index(); }
101 inline Index col()
const {
return IsRowMajor ? index() : m_outer; }
114 template<
typename XprType>
132 #endif // EIGEN_COREITERATORS_H
EIGEN_STRONG_INLINE InnerIterator operator+(Index i)
EIGEN_STRONG_INLINE InnerIterator & operator+=(Index i)
Namespace containing all symbols from the Eigen library.
EIGEN_STRONG_INLINE Index row() const
evaluator< XprType > EvaluatorType
const unsigned int RowMajorBit
EIGEN_STRONG_INLINE InnerIterator & operator++()
evaluator< XprType > EvaluatorType
const EvaluatorType & m_eval
evaluator< XprType >::InnerIterator Base
EIGEN_STRONG_INLINE Index index() const
traits< XprType >::Scalar Scalar
EIGEN_STRONG_INLINE Scalar value() const
#define EIGEN_STRONG_INLINE
An InnerIterator allows to loop over the element of any matrix expression.
EIGEN_STRONG_INLINE Index col() const
CwiseBinaryOp< internal::scalar_sum_op< double, double >, const CpyMatrixXd, const CpyMatrixXd > XprType
EIGEN_STRONG_INLINE inner_iterator_selector(const EvaluatorType &eval, const Index &outerId, const Index &)
InnerIterator(const XprType &xpr, const Index &outerId)
EIGEN_STRONG_INLINE Scalar value() const
internal::evaluator< XprType > EvaluatorType
EIGEN_STRONG_INLINE Index index() const
EIGEN_STRONG_INLINE inner_iterator_selector & operator++()
internal::inner_iterator_selector< XprType, typename internal::evaluator_traits< XprType >::Kind > IteratorType
EIGEN_STRONG_INLINE inner_iterator_selector(const EvaluatorType &eval, const Index &outerId, const Index &innerSize)
internal::traits< XprType >::Scalar Scalar
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:00:57