Skip to content

class compound_type_traits<std::complex<T>> complex

template <typename T>
struct compound_type_traits<std::complex<T>> { … }

variable width

constexpr static size_t width      = 2

Defined at simd/complex.hpp:44

variable deep_width

constexpr static size_t deep_width = width * compound_type_traits<T>::width

Defined at simd/complex.hpp:45

typedef subtype

using subtype                      = T

Defined at simd/complex.hpp:46

typedef deep_subtype

using deep_subtype                 = kfr::deep_subtype<T>

Defined at simd/complex.hpp:47

variable is_scalar

constexpr static bool is_scalar    = false

Defined at simd/complex.hpp:48

variable depth

constexpr static size_t depth      = kfr::compound_type_traits<T>::depth + 1

Defined at simd/complex.hpp:49

typedef rebind

using rebind = std::complex<U>

Defined at simd/complex.hpp:51

typedef deep_rebind

using deep_rebind = std::complex<typename compound_type_traits<subtype>::template deep_rebind<U>>

Defined at simd/complex.hpp:53

function at(const std::complex<T> &, size_t)

static constexpr subtype at(const std::complex<T>& value, size_t index) { … }

Defined at simd/complex.hpp:55

Defined at simd/complex.hpp:42