Skip to content

Function imag

function imag(const complex<T> &) simd

template <typename T>
constexpr KFR_INTRINSIC T imag(const complex<T>& value) { … }

Returns the imaginary part of the complex value

Fully qualified name: kfr::imag(const complex<T> &)

Declared at simd/complex.hpp:334

Function imag

function imag(const vec<complex<T>, N> &) simd

template <typename T, size_t N>
constexpr KFR_INTRINSIC vec<T, N> imag(const vec<complex<T>, N>& value) { … }

Returns the imaginary parts of a vector of complex values.

Parameters
value Vector of complex values.
Returns
Vector of the imaginary components.

Fully qualified name: kfr::imag(const vec<complex<T>, N> &)

Declared at simd/complex.hpp:345

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.