eDSP  0.0.1
A cross-platform DSP library written in C++.
Namespaces | Functions
real2complex.hpp File Reference
#include <edsp/meta/iterator.hpp>
#include <algorithm>
#include <complex>

Go to the source code of this file.

Namespaces

 edsp
 
 edsp::converter
 

Functions

template<typename T >
constexpr std::complex< T > edsp::converter::real2complex (T real, T imag=static_cast< T >(0)) noexcept
 Converts a real scalar to an equivalent complex number. More...
 
template<typename InputIt , typename OutputIt >
constexpr void edsp::converter::real2complex (InputIt first, InputIt last, OutputIt d_first)
 Converts a range of scalar numbers in to an equivalent complex number and stores the result in another range. More...
 
template<typename InputIt , typename OutputIt >
constexpr void edsp::converter::real2complex (InputIt first1, InputIt last1, InputIt first2, OutputIt d_first)
 Converts a range of scalar numbers in to an equivalent complex number and stores the result in another range. More...