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>
131template<
typename Derived>
132template<
typename OtherDerived>
136 call_assignment(derived(), other.
derived());
140template<
typename Derived>
141template<
typename OtherDerived>
149template<
typename Derived>
150template<
typename OtherDerived>
#define EIGEN_NOEXCEPT
Definition Macros.h:1418
#define EIGEN_CONSTEXPR
Definition Macros.h:787
#define EIGEN_DEVICE_FUNC
Definition Macros.h:976
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
Definition PartialRedux_count.cpp:3
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator=(const DenseBase< OtherDerived > &other)
Definition Assign.h:39
EIGEN_DEVICE_FUNC Derived & operator-=(const EigenBase< OtherDerived > &other)
Definition EigenBase.h:152
EIGEN_DEVICE_FUNC Derived & operator+=(const EigenBase< OtherDerived > &other)
Definition EigenBase.h:143
Namespace containing all symbols from the Eigen library.
Definition bench_norm.cpp:85
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
Definition EigenBase.h:30
EIGEN_DEVICE_FUNC Derived & const_cast_derived() const
Definition EigenBase.h:52
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Definition EigenBase.h:63
Eigen::Index Index
The interface type of indices.
Definition EigenBase.h:39
EIGEN_DEVICE_FUNC void subTo(Dest &dst) const
Definition EigenBase.h:90
EIGEN_DEVICE_FUNC const Derived & derived() const
Definition EigenBase.h:49
internal::traits< Derived >::StorageKind StorageKind
Definition EigenBase.h:42
EIGEN_DEVICE_FUNC void evalTo(Dest &dst) const
Definition EigenBase.h:72
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index size() const EIGEN_NOEXCEPT
Definition EigenBase.h:67
EIGEN_DEVICE_FUNC void applyThisOnTheRight(Dest &dst) const
Definition EigenBase.h:101
EIGEN_DEVICE_FUNC Derived & derived()
Definition EigenBase.h:46
EIGEN_DEVICE_FUNC const Derived & const_derived() const
Definition EigenBase.h:55
EIGEN_DEVICE_FUNC void applyThisOnTheLeft(Dest &dst) const
Definition EigenBase.h:110
EIGEN_DEVICE_FUNC void addTo(Dest &dst) const
Definition EigenBase.h:78
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Definition EigenBase.h:60
Definition ForwardDeclarations.h:17