23namespace vctr::expressions
26template <
size_t extent,
class SrcType>
27requires is::complexFloatNumber<ValueType<SrcType>>
33 VCTR_COMMON_UNARY_EXPRESSION_MEMBERS (
Real, src)
35 VCTR_FORCEDINLINE
constexpr value_type operator[] (
size_t i)
const
40 VCTR_FORCEDINLINE
const value_type* evalNextVectorOpInExpressionChain (value_type* dst)
const
43 Expression::Accelerate::copyReal (src.data(), dst,
sizeToInt (size()));
A combined concept to check if Apple Accelerate is a suitable option for a floating point vector oper...
Definition: ContainerAndExpressionConcepts.h:254
constexpr ExpressionChainBuilder< expressions::Real > real
Extracts the real parts of the complex source values.
Definition: Real.h:60
The main namespace of the VCTR project.
Definition: Array.h:24
typename detail::RealType< std::remove_cvref_t< T > >::Type RealType
If T is any instance of std::complex, this will be the real value_type, otherwise this will be T.
Definition: Traits.h:211
int sizeToInt(size_t size)
Casts the size_t argument to an int.
Definition: PlatformVectorOpsHelpers.h:27
An expression chain builder is an object which supplies various operator<< overloads which build chai...
Definition: ExpressionChainBuilder.h:136
The base class to every expression template.
Definition: ExpressionTemplate.h:37