MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / ArrayBase

Class ArrayBase

include/rabitqlib/third/Eigen/src/Core/ArrayBase.h:39–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

call_assignmentFunction · 0.85

Tested by

no test coverage detected