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
82 typename Dest::PlainObject res(
rows(),
cols());
88 template<
typename Dest>
90 inline void subTo(Dest& dst)
const
94 typename Dest::PlainObject res(
rows(),
cols());
100 template<
typename Dest>
109 template<
typename Dest>
131template<
typename Derived>
132template<
typename OtherDerived>
140template<
typename Derived>
141template<
typename OtherDerived>
149template<
typename Derived>
150template<
typename OtherDerived>
#define EIGEN_NOEXCEPT
Definition: Macros.h:1428
#define EIGEN_CONSTEXPR
Definition: Macros.h:797
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:986
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator=(const DenseBase< OtherDerived > &other)
Copies other into *this.
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
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_assignment(Dst &dst, const Src &src)
Definition: AssignEvaluator.h:834
Namespace containing all symbols from the Eigen library.
Definition: MatrixExponential.h:16
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
Common base class for all classes T such that MatrixBase has an operator=(T) and a constructor Matrix...
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: AssignmentFunctors.h:46
Definition: AssignmentFunctors.h:67
Definition: ForwardDeclarations.h:17