MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / ArrayBase

Class ArrayBase

include/Eigen/Eigen/src/Core/ArrayBase.h:41–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 * \sa class MatrixBase, \ref TopicClassHierarchy
40 */
41template<typename Derived> class ArrayBase
42 : public DenseBase<Derived>
43{
44 public:
45#ifndef EIGEN_PARSED_BY_DOXYGEN
46 /** The base class for a given storage type. */
47 typedef ArrayBase StorageBaseType;
48
49 typedef ArrayBase Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl;
50
51 typedef typename internal::traits<Derived>::StorageKind StorageKind;
52 typedef typename internal::traits<Derived>::Scalar Scalar;
53 typedef typename internal::packet_traits<Scalar>::type PacketScalar;
54 typedef typename NumTraits<Scalar>::Real RealScalar;
55
56 typedef DenseBase<Derived> Base;
57 using Base::RowsAtCompileTime;
58 using Base::ColsAtCompileTime;
59 using Base::SizeAtCompileTime;
60 using Base::MaxRowsAtCompileTime;
61 using Base::MaxColsAtCompileTime;
62 using Base::MaxSizeAtCompileTime;
63 using Base::IsVectorAtCompileTime;
64 using Base::Flags;
65
66 using Base::derived;
67 using Base::const_cast_derived;
68 using Base::rows;
69 using Base::cols;
70 using Base::size;
71 using Base::coeff;
72 using Base::coeffRef;
73 using Base::lazyAssign;
74 using Base::operator-;
75 using Base::operator=;
76 using Base::operator+=;
77 using Base::operator-=;
78 using Base::operator*=;
79 using Base::operator/=;
80
81 typedef typename Base::CoeffReturnType CoeffReturnType;
82
83#endif // not EIGEN_PARSED_BY_DOXYGEN
84
85#ifndef EIGEN_PARSED_BY_DOXYGEN
86 typedef typename Base::PlainObject PlainObject;
87
88 /** \internal Represents a matrix with all coefficients equal to one another*/
89 typedef CwiseNullaryOp<internal::scalar_constant_op<Scalar>,PlainObject> ConstantReturnType;
90#endif // not EIGEN_PARSED_BY_DOXYGEN
91
92#define EIGEN_CURRENT_STORAGE_BASE_CLASS Eigen::ArrayBase
93#define EIGEN_DOC_UNARY_ADDONS(X,Y)
94# include "../plugins/MatrixCwiseUnaryOps.h"
95# include "../plugins/ArrayCwiseUnaryOps.h"
96# include "../plugins/CommonCwiseBinaryOps.h"
97# include "../plugins/MatrixCwiseBinaryOps.h"
98# include "../plugins/ArrayCwiseBinaryOps.h"

Callers

nothing calls this directly

Calls 1

call_assignmentFunction · 0.85

Tested by

no test coverage detected