Go to the source code of this file.
#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> > \
{ \
return typename NAME##_retval<ArrayBase<Derived> >::type(
x.derived()); \
} \
};
EIGEN_DEVICE_FUNC const Scalar & x
return(x<=y?ADS(x):ADS(y))
Base class for all 1D and 2D array, and related expressions.
Generic expression where a coefficient-wise unary operator is applied to an expression.
void run(Expr &expr, Dev &dev)
Definition at line 38 of file GlobalFunctions.h.
#define EIGEN_ARRAY_DECLARE_GLOBAL_UNARY |
( |
|
NAME, |
|
|
|
FUNCTOR, |
|
|
|
DOC_OP, |
|
|
|
DOC_DETAILS |
|
) |
| |
Value:template<typename Derived> \
}
return(x<=y?ADS(x):ADS(y))
Base class for all 1D and 2D array, and related expressions.
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition at line 29 of file GlobalFunctions.h.