35 #ifndef _BLAZE_MATH_PROXY_COMPLEXPROXY_H_
36 #define _BLAZE_MATH_PROXY_COMPLEXPROXY_H_
118 template<
typename PT
122 return (~*
this).get().real();
135 template<
typename PT
139 (~*
this).
get().real( value );
151 template<
typename PT
155 return (~*
this).get().imag();
168 template<
typename PT
172 (~*
this).
get().imag( value );
192 template<
typename PT
196 return *
static_cast<PT*
>( this );
208 template<
typename PT
212 return *
static_cast<const PT*
>( this );
Constraint on the data type.
Header file for the clear shim.
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
CT::value_type value_type
Value type of the represented complex element.
Definition: ComplexProxy.h:71
BLAZE_ALWAYS_INLINE PT & operator~()
Conversion operator for non-constant proxies.
Definition: ComplexProxy.h:194
ValueType real() const
Returns the real part of the represented complex number.
Definition: ComplexProxy.h:120
value_type ValueType
Value type of the represented complex element.
Definition: ComplexProxy.h:72
Header file for the reset shim.
#define BLAZE_CONSTRAINT_MUST_BE_COMPLEX_TYPE(T)
Constraint on the data type.This compile time constraint checks that the given data type T is a compl...
Definition: Complex.h:80
ValueType imag() const
Returns the imaginary part of the represented complex number.
Definition: ComplexProxy.h:153
Proxy backend for complex types.The ComplexProxy class serves as a backend for the Proxy class...
Definition: ComplexProxy.h:67
System settings for the inline keywords.