11 #ifndef EIGEN_EIGENBASE_H 12 #define EIGEN_EIGENBASE_H 45 Derived&
derived() {
return *
static_cast<Derived*
>(
this); }
48 const Derived&
derived()
const {
return *
static_cast<const Derived*
>(
this); }
52 {
return *
static_cast<Derived*
>(
const_cast<EigenBase*
>(
this)); }
55 {
return *
static_cast<const Derived*
>(
this); }
69 template<
typename Dest>
75 template<
typename Dest>
77 inline void addTo(Dest& dst)
const 81 typename Dest::PlainObject res(
rows(),
cols());
87 template<
typename Dest>
89 inline void subTo(Dest& dst)
const 93 typename Dest::PlainObject res(
rows(),
cols());
99 template<
typename Dest>
108 template<
typename Dest>
130 template<
typename Derived>
131 template<
typename OtherDerived>
139 template<
typename Derived>
140 template<
typename OtherDerived>
148 template<
typename Derived>
149 template<
typename OtherDerived>
159 #endif // EIGEN_EIGENBASE_H EIGEN_DEVICE_FUNC const Derived & derived() const
EIGEN_DEVICE_FUNC void evalTo(Dest &dst) const
EIGEN_DEVICE_FUNC const Derived & const_derived() const
EIGEN_DEVICE_FUNC void subTo(Dest &dst) const
EIGEN_DEVICE_FUNC Derived & operator+=(const EigenBase< OtherDerived > &other)
EIGEN_DEVICE_FUNC void applyThisOnTheLeft(Dest &dst) const
EIGEN_DEVICE_FUNC void applyThisOnTheRight(Dest &dst) const
Eigen::Index Index
The interface type of indices.
EIGEN_DEVICE_FUNC void addTo(Dest &dst) const
EIGEN_DEVICE_FUNC Derived & operator-=(const EigenBase< OtherDerived > &other)
EIGEN_DEVICE_FUNC Derived & const_cast_derived() const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator=(const DenseBase< OtherDerived > &other)
EIGEN_DEVICE_FUNC Index cols() const
internal::traits< Derived >::StorageKind StorageKind
EIGEN_DEVICE_FUNC Index rows() const
EIGEN_DEVICE_FUNC Derived & derived()
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_assignment(Dst &dst, const Src &src)
EIGEN_DEVICE_FUNC Index size() const