RTC Toolkit 5.0.0
Loading...
Searching...
No Matches
Namespaces | Functions
patternGeneration.hpp File Reference

Generation functions for creating test patterns. More...

#include <rtctk/componentFramework/typeTraits.hpp>
#include <algorithm>
#include <cstdint>
#include <iterator>

Go to the source code of this file.

Namespaces

namespace  rtctk
 
namespace  rtctk::componentFramework
 

Functions

template<typename InputIter , typename T , typename U >
constexpr void rtctk::componentFramework::GenerateRamp (InputIter begin, InputIter end, T offset, U slope)
 Generates a ramp of values.
 
template<typename InputIter , typename T >
constexpr void rtctk::componentFramework::GenerateAlternatingRamp (InputIter begin, InputIter end, std::uint32_t sample_id, T offset)
 Generates a ramp of values alternating on the sample ID.
 

Detailed Description

Generation functions for creating test patterns.