Function make_complex¶
function make_complex(const vec<T1, N> &, const vec<T2, N> &) simd¶
template <typename T1, typename T2 = T1, size_t N, typename T = flt_type<std::common_type_t<T1, T2>>>
constexpr KFR_INTRINSIC vec<complex<T>, N> make_complex(const vec<T1, N>& real,
const vec<T2, N>& imag = T2(0)) { … } Constructs a vector of complex values from real and imaginary vectors.
| real | Vector of real parts. |
| imag | Vector of imaginary parts (defaults to zero). |
| Interleaved vector of complex values. |
Fully qualified name: kfr::make_complex(const vec<T1, N> &, const vec<T2, N> &)
Declared at simd/complex.hpp:358
Function make_complex¶
function make_complex(T1, T2) simd¶
template <numeric T1, numeric T2 = T1, typename T = flt_type<std::common_type_t<T1, T2>>>
constexpr KFR_INTRINSIC complex<T> make_complex(T1 real, T2 imag = T2(0)) { … } Constructs a complex value from real and imaginary scalars.
| real | Real part. |
| imag | Imaginary part (defaults to zero). |
| The constructed complex value. |
Fully qualified name: kfr::make_complex(T1, T2)
Declared at simd/complex.hpp:371
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.