MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
marvin_Windows.h File Reference
#include <marvin/math/marvin_Math.h>
#include <marvin/library/marvin_Concepts.h>
#include <numbers>
#include <cmath>

Go to the source code of this file.

Classes

class  marvin::math::windows::PrecomputedWindow< SampleType, NumPoints >
 Helper class for cacheing a window function in a lookup table. More...
 

Namespaces

namespace  marvin
 A mostly harmless top-level namespace.
 
namespace  marvin::math
 Math helper functions and classes.
 
namespace  marvin::math::windows
 Various windowing functions. An interactive graph with more intuition than the textual documentation can give can be found here
 

Enumerations

enum class  marvin::math::windows::WindowType {
  marvin::math::windows::Sine , marvin::math::windows::Tukey , marvin::math::windows::BlackmanHarris , marvin::math::windows::CosineSum ,
  marvin::math::windows::Hann , marvin::math::windows::Hamming
}
 

Functions

template<FloatType SampleType>
SampleType marvin::math::windows::sine (SampleType n, SampleType N)
 
template<FloatType SampleType>
SampleType marvin::math::windows::tukey (SampleType n, SampleType NumPoints, SampleType alpha)
 
template<FloatType SampleType>
SampleType marvin::math::windows::blackmanHarris (SampleType n, SampleType N)
 
template<FloatType SampleType>
SampleType marvin::math::windows::cosineSum (SampleType n, SampleType N, SampleType alpha)
 
template<FloatType SampleType>
SampleType marvin::math::windows::hann (SampleType n, SampleType N)
 
template<FloatType SampleType>
SampleType marvin::math::windows::hamming (SampleType n, SampleType N)