11 #ifndef EIGEN_EIGENBASE_H 12 #define EIGEN_EIGENBASE_H 46 Derived&
derived() {
return *
static_cast<Derived*
>(
this); }
49 const Derived&
derived()
const {
return *
static_cast<const Derived*
>(
this); }
53 {
return *
static_cast<Derived*
>(
const_cast<EigenBase*
>(
this)); }
56 {
return *
static_cast<const Derived*
>(
this); }
70 template<
typename Dest>
76 template<
typename Dest>
78 inline void addTo(Dest& dst)
const 88 template<
typename Dest>
90 inline void subTo(Dest& dst)
const 100 template<
typename Dest>
109 template<
typename Dest>
131 template<
typename Derived>
132 template<
typename OtherDerived>
140 template<
typename Derived>
141 template<
typename OtherDerived>
149 template<
typename Derived>
150 template<
typename OtherDerived>
160 #endif // EIGEN_EIGENBASE_H
EIGEN_DEVICE_FUNC void evalTo(Dest &dst) const
EIGEN_DEVICE_FUNC Derived & operator+=(const EigenBase< OtherDerived > &other)
EIGEN_DEVICE_FUNC Derived & const_cast_derived() const
Namespace containing all symbols from the Eigen library.
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Eigen::Index Index
The interface type of indices.
EIGEN_DEVICE_FUNC void applyThisOnTheLeft(Dest &dst) const
EIGEN_DEVICE_FUNC const Derived & derived() const
EIGEN_DEVICE_FUNC void applyThisOnTheRight(Dest &dst) const
EIGEN_DEVICE_FUNC Derived & operator-=(const EigenBase< OtherDerived > &other)
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
EIGEN_DEVICE_FUNC void subTo(Dest &dst) const
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index size() const EIGEN_NOEXCEPT
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 const Derived & const_derived() const
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
#define EIGEN_DEVICE_FUNC
internal::traits< Derived >::StorageKind StorageKind
EIGEN_DEVICE_FUNC Derived & derived()
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_assignment(Dst &dst, const Src &src)
EIGEN_DEVICE_FUNC void addTo(Dest &dst) const