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

Go to the source code of this file.

Namespaces

 edsp
 
 edsp::algorithm
 

Functions

template<typename InputIt , typename OutputIt >
constexpr void edsp::algorithm::round (InputIt first, InputIt last, OutputIt d_first)
 For each element in the range [first, last) computes the nearest integer value to the element's value rounding halfway cases away from zero, and stores the result in another range, beginning at d_first. More...