WPILibC++ 2023.4.3-108-ge5452e3
GlobalFunctions.h File Reference

Go to the source code of this file.

Namespaces

namespace  Eigen
 Namespace containing all symbols from the Eigen library.
 
namespace  Eigen::internal
 

Macros

#define EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(NAME, FUNCTOR, DOC_OP, DOC_DETAILS)
 
#define EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(NAME, FUNCTOR)
 

Variables

EIGEN_DEVICE_FUNC const Eigen::ArrayBase< Derived > & Eigen::exponents
 

Macro Definition Documentation

◆ EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY

#define EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY (   NAME,
  FUNCTOR 
)
Value:
\
template<typename Derived> \
struct NAME##_retval<ArrayBase<Derived> > \
{ \
}; \
template<typename Derived> \
struct NAME##_impl<ArrayBase<Derived> > \
{ \
static inline typename NAME##_retval<ArrayBase<Derived> >::type run(const Eigen::ArrayBase<Derived>& x) \
{ \
return typename NAME##_retval<ArrayBase<Derived> >::type(x.derived()); \
} \
};
Base class for all 1D and 2D array, and related expressions.
Definition: ArrayBase.h:41
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition: CwiseUnaryOp.h:56
type
Definition: core.h:575

◆ EIGEN_ARRAY_DECLARE_GLOBAL_UNARY

#define EIGEN_ARRAY_DECLARE_GLOBAL_UNARY (   NAME,
  FUNCTOR,
  DOC_OP,
  DOC_DETAILS 
)
Value:
template<typename Derived> \
(NAME)(const Eigen::ArrayBase<Derived>& x) { \
}